-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
238 lines (210 loc) · 10.9 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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Facebook - log in or sign up</title>
<link rel="shortcut icon" href="images/facebook.png" >
<link rel="stylesheet" href="style.css">
</head>
<body>
<section class="loginForm">
<div class="leftpart">
<p1>facebook</p1>
<!-- <img class="fb_logo _8ilh img" src="https://static.xx.fbcdn.net/rsrc.php/y1/r/4lCu2zih0ca.svg" alt="Facebook"> -->
<p>Facebook helps you connect and share with the people in your life.</p>
</div>
<div class="rightpart">
<form action="FaceBookIndex.html" id="logInSubmission" >
<div>
<input type="text" placeholder="Email address or phone number" id="username" value="" >
<br>
<span ><p id="emailError"></p></span>
</div>
<div>
<input type="password" placeholder="Password" id="Upassword" value="" >
<br>
<span ><p id="passwordError"></p></span>
</div>
<div>
<button type="button" id="logIn" onclick="loginValidation()">Log in </button>
</div>
</form>
<a href="#">Forgotten password?</a>
<hr>
<button type="button" id="createAccount" onclick="document.getElementById('signupForm').style.display='block'">Create new account</button>
</div>
</section>
<section id="signupForm">
<section class="formContent">
<section class="subheader">
<div class="subtext">
<h1>Sign Up</h1>
<p1>It's quick and easy.</p1>
</div>
<div class="close">
<span onclick="document.getElementById('signupForm').style.display='none'" title="Close Modal">×</span>
</div>
</section>
<hr>
<form action="FaceBookIndex.html" id="sumbissionForm">
<div class="namepart">
<span><p id="firstNameError"class="hidden">What's your name?</p></span>
<input type="text" placeholder="First name" name="firstname" id="fname" value="" >
<input type="text" placeholder="Surname" name="surname" id="lname" value="" >
<span ><p id="sureNameError"class="hidden" >What's your name?</p></span>
</div>
<div class="restpart">
<span > <p id="signEmailError" class="hidden">You'll use this when you log in and if you ever need to rest your password.</p></span>
<input type="text" placeholder="Mobile number or email address" name="email" id="em" value="" >
<span ><p id="newPassErorr" class="hidden">Enter a comination of at least six numbers,letters and punctuations marks (such as ! and &)</p></span>
<input type="password" placeholder="New password" name="psw" id="ps" value="" >
</div>
<span><p class="hidden" id="dateError">It's looks like you have entered the wrong info.
Please make sure that you use your real date of birth.</p></span>
<label for="birth date"> Date of birth</label>
<br>
<select id="day">
<option selected value="" disabled>Day</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select id="month">
<option selected value="" disabled>Month</option>
<option value='1'>Janaury</option>
<option value='2'>February</option>
<option value='3'>March</option>
<option value='4'>April</option>
<option value='5'>May</option>
<option value='6'>June</option>
<option value='7'>July</option>
<option value='8'>August</option>
<option value='9'>September</option>
<option value='10'>October</option>
<option value='11'>November</option>
<option value='12'>December</option>
</select>
<select id="year" >
<option selected value="" disabled>Year</option>
<option value="1960">1960</option>
<option value="1961">1961</option>
<option value="1962">1962</option>
<option value="1963">1963</option>
<option value="1964">1964</option>
<option value="1965">1965</option>
<option value="1966">1966</option>
<option value="1967">1967</option>
<option value="1968">1968</option>
<option value="1969">1969</option>
<option value="1970">1970</option>
<option value="1971">1971</option>
<option value="1972">1972</option>
<option value="1973">1973</option>
<option value="1974">1974</option>
<option value="1975">1975</option>
<option value="1976">1976</option>
<option value="1977">1977</option>
<option value="1978">1978</option>
<option value="1979">1979</option>
<option value="1980">1980</option>
<option value="1981">1981</option>
<option value="1982">1982</option>
<option value="1983">1983</option>
<option value="1984">1984</option>
<option value="1985">1985</option>
<option value="1986">1986</option>
<option value="1987">1987</option>
<option value="1988">1988</option>
<option value="1989">1989</option>
<option value="1990">1990</option>
<option value="1991">1991</option>
<option value="1992">1992</option>
<option value="1993">1993</option>
<option value="1994">1994</option>
<option value="1995">1995</option>
<option value="1996">1996</option>
<option value="1997">1997</option>
<option value="1998">1998</option>
<option value="1999">1999</option>
<option value="2000">2000</option>
<option value="2001">2001</option>
<option value="2002">2002</option>
<option value="2003">2003</option>
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>
<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2021">2021</option>
<option value="2022">2022</option>
<option value="2023">2023</option>
</select>
<br>
<span><p class="hidden" id="genderError">Please choose a gender. You can change who can see this later.</p></span>
<label for="gender">Gender</label>
<div class="borderbutton">
<div>
<label for="female" class="labelhead">Female</label>
<input type="radio" name="gender" value="female">
</div>
<div>
<label for="male"class="labelhead" >Male</label>
<input type="radio" name="gender" value="male">
</div>
<div>
<label for="custom" class="labelhead">Custom</label>
<input type="radio" name="gender" value="custom">
</div>
</div>
<div class="centereditems">
<p>By creating an account you agree to our <a href="#" style="color:dodgerblue">Terms & Privacy</a>.</p>
<button type="submit" class="signupbtn" >Sign Up</button>
</div>
</form>
</section>
</section>
<footer><span>Copyright © 2023 All rights reserved </span></footer>
<script src="main.js"></script>
</body>
</html>