-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
309 lines (251 loc) · 13.2 KB
/
login.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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<!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">
<title>Online Fashion Shopping for Men,Women,Accessories-Bewakoof.com</title>
<link rel="shortcut icon" type="image/x-icon" href="https://images.bewakoof.com/web/favicon-1635856217.png"
hreflang="en-in">
<link rel="stylesheet" href="login.css">
<!-- <link rel="stylesheet" href="dropdown.css"> -->
</head>
<body>
<!-- top section -->
<div id="header">
<div id="topsection">
<div id="firstdiv">
<div><a href="#">
<p>Offers</p>
</a></div>
<div><a href="#">
<p>Fanpage</p>
</a></div>
<div><img id="dwimg" src="https://img.icons8.com/fluency-systems-regular/344/iphone.png" alt="mobile"><a
href="#">
<p>Download App</p>
</a></div>
<div><a href="#">
<p>TriBe Membership</p>
</a></div>
</div>
<div id="lastdiv">
<div><a href="#">
<p>Contact Us</p>
</a></div>
<div><a href="#">
<p>Track Order</p>
</a></div>
</div>
</div>
<!-- navbar -->
<div id="navbar">
<div id="logo_and_page">
<div id="logo">
<img id="resp_menu" src="https://img.icons8.com/ios-filled/2x/menu--v4.gif" alt="">
<a href="index.html"><img src=" https://images.bewakoof.com/web/ic-desktop-pride-bwkf-logo.svg"
alt="">
<img id="resp_logo" src="https://images.bewakoof.com/web/ic-web-bwkf-logo-pride-.svg" alt="">
</a>
</div>
<div class="sections dropdown anim-link" id="men">
<a id="men" target="_blank" href="menspage.html">MEN</a>
<div class="dropdown-content">
<ul> <a href="menspage.html">Topwear</a>
<li><a href="menspage.html">Printed Shirts</a></li>
<li><a href="menspage.html">Over Sized Shirts</a></li>
<li><a href="#">Shirts</a></li>
<li><a href="#">VestS</a></li>
<li><a href="#">TShirts</a></li>
<li><a href="#">Kurtas</a></li>
</ul>
<ul> <a href="menspage.html">Bottomwear</a>
<li><a href="menspage.html">Poggers</a></li>
<li><a href="menspage.html">Payjams</a></li>
<li><a href="#">Shorts</a></li>
<li><a href="#">Jeans</a></li>
<li><a href="#">Denim</a></li>
<li><a href="#">Boxers</a></li>
</ul>
<ul> <a href="menspage.html">Sports&activewear</a>
<li><a href="menspage.html">Active TShirts</a></li>
<li><a href="menspage.html">Sports Shorts</a></li>
<li><a href="#">Clogs</a></li>
<li><a href="#">Flip-flops</a></li>
<li><a href="#">Casual Shoes</a></li>
</ul> <hr>
<ul> <a href="menspage.html" id="spacial_ul">SPACIALS</a>
<li><a href="menspage.html"><img src="https://images.bewakoof.com/nav_menu/OOFsale-CircleNavigation-168x168--revised-1654790782.png" alt="">OFF Sale</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/go-local-icon-1654622393.png" alt="">Go local collection</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/arena-icon-1652290108.png" alt="">Arena collection</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/coke-icon-1645251020.png" alt="">Coca Colla collection</a></li>
</ul>
</div>
</div>
<div class="sections dropdown anim-link" id="women">
<a id="women" target="_blank" href="women.html"> WOMEN</a>
<div class="dropdown-content">
<ul> <a href="women.html">Topwear</a>
<li><a href="#">Printed Shirts</a></li>
<li><a href="#">Boyfriend TShirts</a></li>
<li><a href="#">Shirts</a></li>
<li><a href="#">Top</a></li>
<li><a href="#">OnePeace</a></li>
<li><a href="#">Kurtas</a></li>
</ul>
<ul> <a href="women.html">Bottomwear</a>
<li><a href="#">Poggers</a></li>
<li><a href="#">Payjams</a></li>
<li><a href="#">Shorts</a></li>
<li><a href="#">Jeans</a></li>
<li><a href="#">Denim</a></li>
<li><a href="#">Boxers</a></li>
</ul>
<ul> <a href="women.html">Footwear</a>
<li><a href="#">Sliders</a></li>
<li><a href="#">Slippers</a></li>
<li><a href="#">Clogs</a></li>
<li><a href="#">Flip-flops</a></li>
<li><a href="#">Casual Shoes</a></li>
</ul> <hr>
<ul> <a href="women.html" id="spacial_ul">SPACIALS</a>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/OOFsale-CircleNavigation-168x168--revised-1654790782.png" alt="">OFF Sale</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/Circle-icon-kpop-1654702057.png" alt="">K Pop collection</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/icon-regional-1652171530.png" alt="">Regional collection</a></li>
<li><a href="#"><img src="https://images.bewakoof.com/nav_menu/coke-icon-1645251020.png" alt="">Coca Colla collection</a></li>
</ul>
</div>
</div>
<div class="sections dropdown anim-link" id="mobile">
<a id="MOBILE_COVERS"target="_blank" href="cover.html"> MOBILE COVERS</a>
<div class="dropdown-content">
<ul> <a href="cover.html"Oneplus</a>
<li><a href="cover.html">Oneplus Nord</a></li>
<li><a href="#">Oneplus 9R</a></li>
<li><a href="#">Oneplus 9</a></li>
<li><a href="#">Oneplus 10</a></li>
</ul>
<ul> <a href="cover.html">Xiaomi </a>
<li><a href="#"> Xiaomi Mi 10i</a></li>
<li><a href="#"> Xiaomi Redmi Note 10</a></li>
<li><a href="#">Xiaomi Mi 11X Pro</a></li>
<li><a href="#">Xiaomi 5G </a></li>
<li><a href="#">Xiaomi 12 Pro 5G </a></li>
</ul>
<ul> <a href="cover.html">Apple</a>
<li><a href="#">Iphone 12</a></li>
<li><a href="#">Iphone 11</a></li>
<li><a href="#">Iphone 11pro</a></li>
<li><a href="#">Iphone XR</a></li>
<li><a href="#">Iphone X</a></li>
</ul> <hr>
<ul> <a href="cover.html" id="spacial_ul">OTHERS BRANDS</a>
<li><a href="#">Oppo</a></li>
<li><a href="#">Infinix</a></li>
<li><a href="#">Moto</a></li>
<li id="span_see_all"><a href="#"><span style=" text-decoration: underline;">See all devices</span></a></li>
</ul>
<a href="#"> <img id="mobile_cover_img" src="https://images.bewakoof.com/nav_menu/bewakoof-online-fashion-COTM-mobile-cover-navigation-box-desktop-1612275399.jpg" alt="mobile"></a>
</div>
</div>
</div>
<div id="search_login">
<div id="search"><img id="search_icon"
src="https://www.clker.com/cliparts/z/1/T/u/9/2/search-icon-md.png" alt="search">
<input id="search_input" type="text" placeholder="Search by product,category or collection">
<img id="search_icon2" src="https://www.clker.com/cliparts/z/1/T/u/9/2/search-icon-md.png"
alt="search">
</div>
<hr id="hr1" />
<div id="login"><a id="login_text" href="login.html">Login</a><a href="wishlist.html"><img
id="wishlist_icon" src="https://cdn.onlinewebfonts.com/svg/img_126692.png" alt="wishlist">
</a>
<a href="cart.html"><img id="bag_icon" src="https://cdn.onlinewebfonts.com/svg/img_60675.png" alt="bag"></a>
</div>
</div>
</div>
</div>
<div class="container">
<div>
<h1>Welcome to the world of Bewakoof!</h1>
<img id="main_img" src="https://images.bewakoof.com/web/group-19-1617704502.png" alt="">
</div>
<div>
<h1>Log in / Sign in</h1>
<p id="login_p">for Latest trends, exciting offers and everything Bewakoof!</p>
<div id="mobile_no">
<div><img src="https://images.bewakoof.com/web/india-flag-round-1639566913.png" alt="">
<h3>+91</h3>
</div><input id="input_for_no" type="text" placeholder="Enter Mobile Number">
</div>
<p id="show_wrong_p"></p>
<button id="cont_btn">CONTINUE</button>
<hr id="hr_or">
<div id="div_for_mail"><img src="https://images.bewakoof.com/web/carbon-email-1620039620.png" alt="">
<h3>CONTINUE WITH EMAIL</h3>
</div>
<div class="div_for_google">
<div><img src="https://images.bewakoof.com/web/group-3-2x-1558356035.png" alt="">
<h3>GOOGLE</h3>
</div>
<div><img src="https://images.bewakoof.com/web/bi-facebook2x-1620886445.png" alt="">
<h3>FACEBOOK</h3>
</div>
</div>
<p id="last_p">By creating an account or logging in, you agree with Bewakoof's <span> Terms and
Conditions</span> and <span> Privacy Policy.</span></p>
</div>
</body>
</html>
<script>
let loadVal = JSON.parse(localStorage.getItem("userdetails"))
let noarr = JSON.parse(localStorage.getItem("mobile_no")) || [];
document.querySelector("#cont_btn").addEventListener("click", myfunction);
function myfunction() {
let no = document.getElementById("input_for_no").value;
if (no == "") {
document.getElementById("mobile_no").style.border = "1px solid red"
document.getElementById("show_wrong_p").innerText = "Mobile Number is required"
}
else {
if (loadVal == null) {
let obj = {
number: no
}
noarr.push(obj)
localStorage.setItem("mobile_no", JSON.stringify(noarr))
window.location.href = "signup.html"
}
else {
checkno(loadVal, no)
}
}
}
function checkno( loadVal,no) {
loadVal.map(function (elem) {
if (no == elem.mobile) {
let obj = {
number: no
}
noarr.push(obj)
localStorage.setItem("mobile_no", JSON.stringify(noarr))
window.location.href = "otp.html"
let x= document.getElementById("show_wrong_p");
x.innerText = "Enter otp"
} else {
let obj = {
number: no
}
noarr.push(obj)
localStorage.setItem("mobile_no", JSON.stringify(noarr))
window.location.href = "signup.html"
let x= document.getElementById("show_wrong_p");
x.innerText = "New User Sign Up first"
}
});
}
let Namearr = JSON.parse(localStorage.getItem("username")) ;
Namearr.map(function(ele){
document.getElementById("login_text").innerText=ele.name;
})
</script>