-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
202 lines (199 loc) · 5.43 KB
/
Copy pathindex.html
File metadata and controls
202 lines (199 loc) · 5.43 KB
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta
content="width=device-width, initial-scale=1.0, user-scalable=yes"
name="viewport"
>
<meta content="index, follow" name="robots">
<meta content="Project: Sign-up Form" name="apple-mobile-web-app-title">
<meta content="Project: Sign-up Form" lang="en-US" name="application-name">
<title>Project: Sign-up Form</title>
<meta
content="This is a solution to Project: Sign-up Form on The Odin Project"
name="description"
>
<meta content="Project: Sign-up Form" name="twitter:title">
<meta
content="This is a solution to Project: Sign-up Form on The Odin Project"
name="twitter:description"
>
<meta
content="https://ik.imagekit.io/2p6x3rqkj/Project-Sign-up-Form.jpg"
name="twitter:image"
>
<meta content="summary_large_image" name="twitter:card">
<meta content="Project: Sign-up Form" property="og:title">
<meta
content="This is a solution to Project: Sign-up Form on The Odin Project"
property="og:description"
>
<meta
content="https://ik.imagekit.io/2p6x3rqkj/Project-Sign-up-Form.jpg"
property="og:image"
>
<meta content="1200" property="og:image:width">
<meta content="600" property="og:image:height">
<meta content="website" property="og:type">
<meta
content="https://azamazis.github.io/Project-Sign-up-Form/"
property="og:url"
>
<link href="styles.css" rel="stylesheet" >
</head>
<body>
<main>
<aside>
<div class="container">
<img alt="odin line" class="logo" src="img/odin-lined.png">
<p class="logo-odin">Odin</p>
</div>
<p class="credit">
Photo by
<a
class="link"
href="https://unsplash.com/illustrations/a-cat-wearing-a-green-bucket-hat-and-sunglasses-YdnvVsFQOHc"
rel="noopener noreferrer"
target="_blank"
>
Alghozy
</a>
on <a
class="link"
href="https://unsplash.com/"
rel="noopener noreferrer"
target="_blank"
>
Unsplash
</a>
</p>
</aside>
<section>
<div class="wrapper">
<p class="note">
This is not a real online service! You know you need something like this in your
life to help you realize your deepest dreams. Sign up <em>now</em> to get
started.
</p>
<p class="para">You <i>know</i> you want to.</p>
</div>
<form action="#" class="form" method="post">
<div class="form__container wrapper">
<p class="para">Let's do this</p>
<div class="fullname form__section">
<div class="firstname">
<label class="form__label" for="first_name">First name</label>
<input
autocomplete="given-name"
class="form__input"
id="first_name"
inputmode="text"
maxlength="120"
name="first_name"
pattern="[A-Za-z]{1,120}"
placeholder="John"
required
type="text"
>
</div>
<div class="lastname">
<label class="form__label" for="last_name">Last name</label>
<input
autocomplete="family-name"
class="form__input"
id="last_name"
inputmode="text"
maxlength="120"
name="last_name"
pattern="[A-Za-z]{1,120}"
placeholder="Doe"
required
type="text"
>
</div>
</div>
<div class="contacts form__section">
<div class="email">
<label class="form__label" for="email">Email</label>
<input
autocomplete="email"
class="form__input"
id="email"
inputmode="email"
name="email"
pattern="[A-Za-z0-9!#$%&*_+\-]+@[A-Za-z]+\.[A-Za-z]{2,}"
placeholder="john_doe123@email.com"
required
type="text"
>
</div>
<div class="tel">
<label class="form__label" for="tel">Phone number</label>
<input
autocomplete="tel"
class="form__input"
id="tel"
inputmode="tel"
name="tel"
pattern="(\+?)[0-9]+"
placeholder="+123456789"
required
type="tel"
>
</div>
</div>
<div class="password form__section">
<div class="new-password">
<label class="form__label" for="password">Password</label>
<div class="password__wrapper">
<input
autocomplete="new-password"
class="form__input"
id="password"
inputmode="text"
min="6"
name="password"
pattern=".{6,}"
placeholder="••••••"
required
type="password"
>
<button class="visibility" type="button"></button>
</div>
</div>
<div class="confirm-password">
<label class="form__label" for="confirm-password">Confirm password</label>
<div class="password__wrapper">
<input
autocomplete="new-password"
class="form__input"
id="confirm-password"
inputmode="text"
min="6"
name="confirm-password"
pattern=".{6,}"
placeholder="••••••"
required
type="password"
>
<button class="visibility" type="button"></button>
</div>
</div>
</div>
</div>
<div class="wrapper">
<button class="btn" formnovalidate type="submit">Create account</button>
<p class="para">Already have an account? <a class="link" href="#">Log in</a></p>
</div>
</form>
</section>
<script>
const form = document.querySelector(".form");
form.addEventListener("submit", (e) => {
e.preventDefault();
});
</script>
</main>
</body>
</html>