-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
129 lines (122 loc) · 4.47 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
118
119
120
121
122
123
124
125
126
127
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="./css/images/favicon-32x32.png">
<!-- FONT Poppins 400, 500, 600 ,700 -->
<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">
<!-- SCRIPTS -->
<script src= "./scripts/main.js" defer></script>
<!-- STYLES -->
<link rel="stylesheet" href="./css/styles.css">
<title>Frontend Mentor | Intro component with sign up form</title>
</head>
<body>
<main>
<section class= "intro__section">
<div class= "grid__container">
<div class= "content">
<h1 class= "content__title">
Learn to code by watching others
</h1>
<p class= "content__text">
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= "form__container">
<h2 class= "form__title">
<strong>
Try it free 7 days
</strong>
then $20/mo. thereafter
</h2>
<form action= "#" class= "form">
<div class= "input__container">
<label for= "first-name"></label>
<input class= "input__value"
type= "text"
name= "first-name"
pattern= "[A-Za-z]+"
id= "first-name"
placeholder= "First Name" >
<svg class="error__icon">
<use href= "#error__message__icon"></use>
</svg>
<p class= "error__message"></p>
</div>
<div class= "input__container">
<label for= "last-name"></label>
<input class= "input__value"
type= "text"
name= "last-name"
pattern= "[A-Za-z]+"
id= "last-name"
placeholder= "Last Name" >
<svg class="error__icon">
<use href= "#error__message__icon"></use>
</svg>
<p class= "error__message"></p>
</div>
<div class= "input__container">
<label for= "email"></label>
<input class= "input__email"
type="text"
name= "email"
id= "email"
placeholder= "Email Address">
<svg class="error__icon">
<use href= "#error__message__icon"></use>
</svg>
<p class= "error__message"></p>
</div>
<div class= "input__container">
<label for= "password"></label>
<input class= "input__value"
type= "password"
name= "password"
id= "password"
placeholder= "Password" >
<svg class= "error__icon">
<use href= "#error__message__icon"></use>
</svg>
<p class= "error__message"></p>
</div>
<input class= "btn__submit"
type= "submit"
id= "btnSubmit"
value= "Claim your free trial">
<!-- check -->
<small class= "form__agreement">
By clicking the button, you are agreeing to our
<strong>
Terms and Services
</strong>
</small>
</form>
</div>
</div>
</section>
</main>
<footer class= "footer">
<small class= "footer__attribution">
Challenge by
<a href= "https://www.frontendmentor.io?ref=challenge"
target= "_blank">
Frontend Mentor
</a><br>
Coded by
<a href= "https://github.com/amansgz"
target= "_blank">
@amansgz
</a>
</small>
</footer>
</body>
</html>
<!-- Svgs -->
<div style="display:none;">
<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" id="error__message__icon"><g fill="none" fill-rule="evenodd"><circle fill="#FF7979" cx="12" cy="12" r="12"/><rect fill="#FFF" x="11" y="6" width="2" height="9" rx="1"/><rect fill="#FFF" x="11" y="17" width="2" height="2" rx="1"/></g></svg>
</div>