-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
117 lines (117 loc) · 3.57 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="style.css" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./images/favicon-32x32.png"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<title>Frontend Mentor | Intro component with sign up form</title>
</head>
<body>
<main class="grid-container">
<section class="column">
<h1>Learn to code by watching others</h1>
<p>
See how experienced developers solve problems in real-time. Watching
scripted tutorials is great, but understanding how developers think is
invaluable.
</p>
</section>
<section class="column">
<button type="button" class="try-it-button">
<strong>Try it free 7 days</strong> then $20/mo. thereafter
</button>
<div class="white-bg">
<form class="column" novalidate>
<input
type="text"
name="firstname"
id="first-name-input"
placeholder="First Name"
required
/>
<p
id="first-name-error-msg"
class="error-message"
aria-live="polite"
>
First Name cannot be empty
</p>
<input
type="text"
name="lastname"
id="last-name-input"
placeholder="Last Name"
required
/>
<p
id="last-name-error-msg"
class="error-message"
aria-live="polite"
>
Last Name cannot be empty
</p>
<input
type="email"
name="email"
id="email-input"
placeholder="Email Address"
required
/>
<p
id="empty-email-error-msg"
class="error-message"
aria-live="polite"
>
Email Address cannot be empty
</p>
<p
id="invalid-email-error-msg"
class="error-message"
aria-live="polite"
>
Looks like this is not an email
</p>
<input
type="password"
name="password"
id="password-input"
placeholder="Password"
minlength="8"
required
/>
<p id="password-error-msg" class="error-message" aria-live="polite">
Password cannot be empty
</p>
<button class="submit">Claim your free trial</button>
</form>
<p class="disclaimer">
By clicking the button, you are agreeing to our
<a href="" class="terms-link">Terms and Services</a>
</p>
</div>
</section>
</main>
<footer>
<p class="attribution">
Challenge by
<a href="https://www.frontendmentor.io?ref=challenge" target="_blank"
>Frontend Mentor</a
>. Coded by
<a href="http://vjones.dev" target="_blank">Valerie Jones</a>.
</p>
</footer>
<script type="text/javascript" src="script.js"></script>
</body>
</html>