-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (74 loc) · 3.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<title>Frontend Mentor | Intro component with sign up form</title>
<link rel="stylesheet" href="./assets/styles/style.css">
</head>
<body>
<main class="main-section">
<div class="intro-text-container">
<h1 class="intro-heading">Learn to code by watching others</h1>
<p class="intro-pitch">
See how experienced developers solve problems in real-time. Watching scripted tutorials is great,
but understanding how developers think is invaluable.
</p>
</div>
<div class="intro-form-container">
<a href="#" class="intro-trial"><span class="intro-trial-period">Try it free 7 days</span> then $20/mo. thereafter</a>
<form action="#" method="post" class="intro-form">
<div class="intro-form-input-container">
<input
type="text"
placeholder="First Name"
name="firstName"
class="intro-form-input"
autocomplete="off"
>
<span class="intro-form-error-msg intro-hide-elm">First name cannot be empty</span>
<img src="./assets/images/icon-error.svg" alt="error message" class="intro-form-error-icon intro-hide-elm">
</div>
<div class="intro-form-input-container">
<input
type="text"
placeholder="Last Name"
name="lastName"
class="intro-form-input"
autocomplete="off"
>
<span class="intro-form-error-msg intro-hide-elm">Last name cannot be empty</span>
<img src="./assets/images/icon-error.svg" alt="error message" class="intro-form-error-icon intro-hide-elm">
</div>
<div class="intro-form-input-container">
<input
type="email"
placeholder="Email Address"
name="email"
class="intro-form-input"
autocomplete="off"
>
<span class="intro-form-error-msg intro-hide-elm">Looks like this is not an email</span>
<img src="./assets/images/icon-error.svg" alt="error message" class="intro-form-error-icon intro-hide-elm">
</div>
<div class="intro-form-input-container">
<input
type="password"
placeholder="Password"
name="password"
class="intro-form-input"
autocomplete="off"
>
<span class="intro-form-error-msg intro-hide-elm">Looks like this is not a valid password</span>
<img src="./assets/images/icon-error.svg" alt="error message" class="intro-form-error-icon intro-hide-elm">
</div>
<button class="intro-form-submit">Claim your free trial</button>
<span class="intro-terms">By clicking the button, you are agreeing to our <a href="#" class="intro-terms-doc">Terms and Services</a></span>
</form>
</div>
</main>
<script src="./assets/scripts/script.js"></script>
</body>
</html>