-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
189 lines (187 loc) · 7.29 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
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
<!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/svg+xml" href="favicon.svg">
<link rel="stylesheet" href="./css/reset.css" />
<link rel="stylesheet" href="./css/styles.css" />
<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=Didact+Gothic&family=Fira+Sans:wght@400;500;700&family=Rubik+Dirt&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<script defer src="./js/main.js"></script>
<title>HIKE APP FORM</title>
</head>
<body>
<div class="container">
<header id="header">
<div class="header-content">
<div class="logo-container">
<img
class="mountains-logo"
src="./images/Wikipedia_Sourcing_Month_Logo.svg"
alt="A mountains logo"
/>
<span class="header-text">HIKE APP</span>
</div>
</div>
<div class="wiki-mention">
<span
>Logo by
<a
rel="no-referrer"
target="_blank"
href="https://commons.wikimedia.org/wiki/File:Wikipedia_Sourcing_Month_Logo.svg"
>SyntaxTerror</a
></span
>
<span>, CC0, via Wikimedia Commons</span>
</div>
<span class="photo-mention"
>Photo of
<a
rel="no-referrer"
target="_blank"
href="https://unsplash.com/es/@maxitin?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash"
>Max Itin</a
>
at
<a
rel="no-referrer"
target="_blank"
href="https://unsplash.com/es/fotos/cordillera-nevada-ngWHU2lGjvs?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash"
>Unsplash</a
></span
>
</header>
<div id="main">
<div class="main-content">
<p>
This is not a real online service! You Know that you need something
like this in your life to help you realize your deepest dreams.
</p>
<p>Sign up now to get started.</p>
<p>You know you want to.</p>
</div>
<form action="response.html" id="contact-form">
<h1 class="form-title">Let's do this!</h1>
<div class="fields-container">
<div class="input-group">
<div class="group">
<label for="firstname">FIRST NAME</label>
<input
type="text"
pattern="[a-zA-Z]{2,20}"
title="It must have at least 2 uppercase or lowercase letters and a maximum of 20 characters."
id="firstname"
minlength="2"
maxlength="20"
placeholder="e.g. John"
autocomplete="given-name"
required
/>
<span class="validity"></span>
</div>
<div class="group">
<label for="lastname">LAST NAME</label>
<input
type="text"
pattern="[a-zA-Z]{2,20}"
title="It must have at least 2 uppercase or lowercase letters and a maximum of 20 characters."
id="lastname"
minlength="2"
maxlength="20"
placeholder="e.g. Doe"
autocomplete="family-name"
required
/>
<span class="validity"></span>
</div>
</div>
<div class="input-group">
<div class="group">
<label for="email">EMAIL</label>
<input
type="email"
id="email"
placeholder="e.g. johndoe@example.com"
title="It must be a valid email address e.g. username@example.com"
autocomplete="email"
required
/>
<span class="validity"></span>
</div>
<div class="group">
<label for="phone">PHONE NUMBER</label>
<input
type="tel"
id="phone"
pattern="[0-9]{3}-[0-9]{3}-[0-9]{3}"
title="11 characters that must match the following pattern: 3 numbers followed by a hyphen, another 3 numbers followed by a hyphen and 3 numbers at the end."
maxlength="11"
placeholder="e.g. 111-222-333"
autocomplete="tel"
required
/>
<span class="validity"></span>
</div>
</div>
<div class="input-group">
<div class="group">
<label for="password1">PASSWORD</label>
<input
class="input-error"
type="password"
pattern="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?!.*\s).{8,15}$"
id="password1"
placeholder="********"
minlength="8"
maxlength="15"
title="It must include at least one number, at least one lowercase letter, at least one uppercase letter, and at least one special character. The password must be between 8 and 15 characters long."
autocomplete="new-password"
required
/>
<span class="validity"></span>
<i id="eye1" class="fa-regular fa-eye"></i>
</div>
<div class="group">
<label for="password2">CONFIRM PASSWORD</label>
<input
class="input-error"
type="password"
pattern="^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[^a-zA-Z0-9])(?!.*\s).{8,15}$"
id="password2"
placeholder="********"
minlength="8"
maxlength="15"
title="It must include at least one number, at least one lowercase letter, at least one uppercase letter, and at least one special character. The password must be between 8 and 15 characters long."
autocomplete="new-password"
required
/>
<span class="validity"></span>
<i id="eye2" class="fa-regular fa-eye"></i>
</div>
</div>
</div>
<span class="match-message error">* Passwords do not match</span>
<div class="button-container">
<input type="submit" id="btn-submit" value="Create Account" />
<p class="login-text">
Already have an account? <a class="login-link" href="">Log in</a>
</p>
</div>
</form>
</div>
</div>
</body>
</html>