-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
192 lines (180 loc) · 6.94 KB
/
register.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
190
191
192
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Permissions-Policy" content="interest-cohort=()">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<link rel="icon" href="images/favicon/favicon.ico" type="image/x-icon" />
<link
href="https://fonts.googleapis.com/css2?family=Raleway:wght@700&family=Oleo+Script:wght@700&family=Quicksand:wght@300;500&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="styles/shared.css" />
<link rel="stylesheet" href="styles/register.css" />
<script src="scripts/mobile-drawer.js" defer></script>
<script src="scripts/login.js" defer></script>
<title>Bosnia & Herzegovina Cities</title>
</head>
<body>
<header>
<div id="page-logo">
<a href="index.html">Bosnia & Herzegovina Cities</a>
</div>
<nav>
<ul>
<li class="dropdown">
<a href="#" class="dropbtn">Menu</a>
<div class="dropdown-content">
<a href="index.html">Home</a>
<a href="login.html">Login</a>
<a href="register.html">Register</a>
<a href="places.html">Destinations</a>
</div>
</li>
</ul>
</nav>
<a href="#side-drawer" class="menu-btn">
<span></span>
<span></span>
<span></span>
</a>
</header>
<main>
<form action="/" method="GET" onsubmit="return validateForm()">
<section>
<h2>Your personal details</h2>
<ul>
<li>
<label for="username">Your Name</label>
<input type="text" name="user-name" id="username" required placeholder="Enter Your Name" maxlength="60" />
</li>
<li>
<label for="useremail">Your Email Address</label>
<input type="email" name="user-email" id="useremail" required placeholder="[email protected]" maxlength="64"
aria-describedby="emailHelp" />
<div id="emailHelp" class="form-email-text">
We'll never share your email with anyone else.
</div>
</li>
<li>
<label for="userphone">Your Phone Number</label>
<input type="tel" name="user-phone" id="userphone" placeholder="e.g., +1234567890"
oninput="validatePhoneNumber(event)" maxlength="15" />
</li>
<li>
<label for="userpassword">Your Password</label>
<div id="password-container">
<input type="password" name="user-password" id="userpassword" placeholder="Enter Your Password" required
minlength="8" maxlength="64" />
<i class="fas fa-eye-slash" id="showpasswordicon" onclick="myFunction()"></i>
</div>
</li>
</ul>
</section>
<section>
<label for="usermessage">Details about yourself that you want others to be able to view</label>
<textarea id="usermessage" name="user-message" required rows="3"></textarea>
</section>
<section>
<h2>More details</h2>
<ul>
<li>
<label for="birthdate">Your Birthday</label>
<input type="date" name="user-birthdate" id="birthdate" required min="1904-01-01" />
</li>
<li>
<label for="yourgender">Your Gender</label>
<select id="gender" name="yourgender">
<option value="selectgender" disabled selected>Please select one…</option>
<option value="male" required>Male</option>
<option value="female" required>Female</option>
<option value="other" required>Other</option>
<option value="noanswer" required>Prefer not to answer</option>
</select>
</li>
</ul>
</section>
<section>
<h2>How should we verify your account?</h2>
<ul>
<li class="form-control-inline">
<input type="radio" name="verify" id="verify-text-message" value="text-message" required />
<label for="verify-text-message">Via Text Message (SMS)</label>
</li>
<li class="form-control-inline">
<input type="radio" name="verify" id="verify-phone" value="phone" required />
<label for="verify-phone">Via a Phone Call</label>
</li>
<li class="form-control-inline">
<input type="radio" name="verify" id="verify-email" value="email" required />
<label for="verify-email">Via an Email</label>
</li>
</ul>
</section>
<section>
<h2>How should we contact you?</h2>
<ul>
<li class="form-control-inline">
<input type="checkbox" id="contact-email" name="contact" value="phone" required />
<label for="contact-email">Contact me via Email</label>
</li>
<li class="form-control-inline">
<input type="checkbox" id="contact-phone" name="contact" />
<label for="contact-phone">Contact me via Phone</label>
</li>
</ul>
</section>
<hr>
<section>
<h2>Terms & Conditions</h2>
<div class="form-control-inline">
<input type="checkbox" id="agree-terms" name="terms" value="email" required />
<label for="agree-terms">I agree to the Terms & Conditions</label>
</div>
<h4>Already have an account? <a href="login.html">Log in</a></h4>
</section>
<section>
<button type="submit">Submit</button>
</section>
</form>
</main>
<aside id="side-drawer">
<header>
<a href="#" class="menu-btn">
<span></span>
<span></span>
<span></span>
</a>
</header>
<nav>
<ul id="menu-items">
<li><a href="index.html" class="menu-item">Home Page</a></li>
<li><a href="places.html" class="menu-item">Destinations</a></li>
<li><a href="login.html" class="menu-item">Login</a></li>
<li><a href="register.html" class="menu-item">Register</a></li>
</ul>
</nav>
</aside>
<footer>
<div class="footer-left">
<p>
<a href="#forum">Forum</a> |
<a href="#schedules">Schedules</a> |
<a href="#about">About BiHCities</a> |
<a href="#contact">Contact Us</a>
</p>
<p>© 2024 Bosnia & Herzegovina Cities. All Rights Reserved. <a href="#terms">Terms of Use</a> | <a
href="#privacy">Privacy Policy</a></p>
</div>
<div class="footer-right">
<ul>
<li><a href="https://www.instagram.com/enjoy.bosnia.herzegovina/?hl=en" target="_blank"><img
src="images/icons/instagram.png" alt="Instagram Logo"></a></li>
<li><a href="https://www.facebook.com/groups/visitbosnia/" target="_blank"><img src="images/icons/facebook.png"
alt="facebook Logo"></a></li>
</ul>
</div>
</footer>
</body>
</html>