forked from RohitMBelure/Project_Sugar_Cosmetics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddtocart.html
444 lines (367 loc) · 20.1 KB
/
addtocart.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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<!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>Document</title>
<link rel="stylesheet" href="addtocart.css">
<link rel="stylesheet" href="navbar.css">
<link rel="stylesheet" href="login.css">
<link rel="stylesheet" href="register.css">
<link rel="stylesheet" href="footer.css">
<script src="https://kit.fontawesome.com/173cb482a3.js" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/30402dddde.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- ****************************************navbar**************************************** -->
<div id="whole_nav">
<div id="hdoffer">
<div><p>FREE eyeshadow palette worth 1199 on a spend of 1199</p></div>
<div><p onclick="cutoffer()">X</p></div>
</div>
<div id="cont_searchbar">
<div id="logo"><img onclick="homez()" src="https://in.sugarcosmetics.com/desc-images/SUGARLogo1.png" alt="img.logo"> </div>
<div id="searchbar"> <input type="text" placeholder='Try "Liquid Lipstick" '><button>Search</button> </div>
<div id="log"><div id="lg">Log Out</div> </div>
<div id="cartpg">
<div> <a href="# "><i class="fa-solid fa-heart"></i></a> </div>
<div id="productnos" onclick="cartpage()"> <a href="# "><i class="fa-solid fa-bag-shopping"></i></a> <p></p> </div>
<div> <a href=" #"><i class="fa-solid fa-certificate"></i></a> </div>
</div>
</div>
<nav id="nav">
<div id="product_pages">
<div class="dropdown">
<div class="dropbtn" onclick="makeupp()">MAKEUP</div>
<div class="dropdown-content">
<p>LIPS</p>
<p>FACE</p>
<p>EYES</p>
</div>
</div>
<div class="dropdown">
<div class="dropbtn" onclick="brushpage()">BRUSHES</div>
<div class="dropdown-content">
<p>FACE BRUSHIES</p>
<p>EYES BRUSHIES</p>
</div>
</div>
<div class="dropdown">
<div class="dropbtn">SKINCARE</div>
<div class="dropdown-content">
<p>MOISTURIZER</p>
<p>MASKS</p>
<p>SETTING MISTS</p>
<p>SHEET MASK COMBO</p>
<p>COFFEE CULTURE RANGE</p>
</div>
</div>
<div class="dropdown">
<div class="dropbtn">TRENDING</div>
<div class="dropdown-content">
<p>SUGAR MERCH STATION</p>
<p>MAKEUP KITS</p>
<p>BESTSELLERS</p>
</div>
</div>
<div class="dropdown">
<div class="dropbtn">BLOG</div>
<div class="dropdown-content">
<p>FEATURED</p>
<p>MAKEUP</p>
<p>SKINCARE</p>
</div>
</div>
<div class="dropbtn">OFFERS</div>
</div>
</nav>
</div>
<!-- *************Login & Signup ************** -->
<div id="main">
<div id="trans"></div>
<div id="login">
<h4 id="close">X</h4>
<h2>Login/Sign Up</h2>
<div id="main1">
<div>
<img id="mob" src="https://in.sugarcosmetics.com/smartphone.svg" alt="a">
<p>Login/Sign Up Using Phone</p>
</div>
<div id="mobno">
<p>+91</p>
<input id="i1" type="tel" maxlength="1" onkeyup="z(event,'i2','','i1')">
<input id="i2" type="tel" maxlength="1" onkeyup="z(event,'i3','i1','i2')">
<input id="i3" type="tel" maxlength="1" onkeyup="z(event,'i4','i2','i3')">
<input id="i4" type="tel" maxlength="1" onkeyup="z(event,'i5','i3','i4')">
<input id="i5" type="tel" maxlength="1" onkeyup="z(event,'i6','i4','i5')">
<input id="i6" type="tel" maxlength="1" onkeyup="z(event,'i7','i5','i6')">
<input id="i7" type="tel" maxlength="1" onkeyup="z(event,'i8','i6','i7')">
<input id="i8" type="tel" maxlength="1" onkeyup="z(event,'i9','i7','i8')">
<input id="i9" type="tel" maxlength="1" onkeyup="z(event,'i10','i8','i9')">
<input id="i10" type="tel" maxlength="1" onkeyup="z(event,'','i9','i10')">
<button >Request OTP</button>
</div>
<p>Enter your phone number to request an OTP</p>
<hr>
<p>Enter the 4 digit OTP received on your phone</p>
<div id="otp">
<input id="j1" type="tel" maxlength="1" onkeyup="x(event,'j2','','j1')">
<input id="j2" type="tel" maxlength="1" onkeyup="x(event,'j3','j1','j2')">
<input id="j3" type="tel" maxlength="1" onkeyup="x(event,'j4','j2','j3')">
<input id="j4" type="tel" maxlength="1" onkeyup="x(event,'','j3','j4')">
</div>
<button id="votp">Verify OTP</button><br>
<label id="check">
<input type="checkbox" checked>
<span id="z">Get Important Updates on Whatsapp.</span>
<a id="terms" href="https://in.sugarcosmetics.com/pages/terms-conditions" class="tnc">Terms and Conditions</a>
</label>
</div>
<p id="btext">Registering for this site allows you to access your order status and history. Just fill in the
fields below, and we'll get a new account set up for you in no time. We will only ask you
for information necessary to make the purchase process faster and easier.
</p>
<p>By Signing up or logging in, you agree to our <a href="https://in.sugarcosmetics.com/pages/terms-conditions">Terms and Conditions</a></p>
</div>
</div>
<!-- *************register ************** -->
<div id="mainx">
<div id="trans"></div>
<div id="login">
<h4 id="close1">X</h4>
<h2>Login/Sign Up</h2>
<div id="main1">
<div>
<img id="mob" src="https://in.sugarcosmetics.com/smartphone.svg" alt="a">
<p>Welcome!</p>
</div>
<p id="verify"></p>
<div id="fbg">
<img src="https://in.sugarcosmetics.com/desc-images/facebook_login.svg" alt="">
<p>or</p>
<img src="https://in.sugarcosmetics.com/desc-images/google.png" alt="">
</div>
<hr>
<p>Or Enter Account Details</p>
<div id="fln">
<input id="fn" type="text" placeholder="First Name">
<input id="ln" type="text" placeholder="Last Name">
</div>
<input id="ema" type="text" placeholder="Email Address"><br>
<button id="sac">Save And Continue</button><br>
</div>
<p id="btext1">Registering for this site allows you to access your order status and history. Just fill in the
fields below, and we'll get a new account set up for you in no time. We will only ask you
for information necessary to make the purchase process faster and easier.
</p>
<p>By Signing up or logging in, you agree to our <a href="https://in.sugarcosmetics.com/pages/terms-conditions">Terms and Conditions</a></p>
</div>
</div>
<!-- productpage -->
<div id="container">
<div id="prdbox">
<div id="pr1"> </div>
<div id="pr2">
<h2 id="pname">Matte As Hell Crayon Lipstick</h2>
<div id="stars">
</div>
<br>
<br>
<p id="rr">4.2 (346)</p>
<br>
<h4 id="pricetag">₹ 799.00 </h4>
<br>
<p> 01 Scarlett O'Hara (Red)</p>
<div id="btnstr"></div>
<!-- <button id="bttn1" onclick="addtocart()" ><i class="fas fa-shopping-bag"></i> Add to Cart</button> -->
<br>
<button id="bttn2"><i class="fa-solid fa-heart"></i>savetowishlist</button>
</div>
</div>
<div id="ph2"> <img src="https://in.sugarcosmetics.com/productbanner.svg" alt=""></div>
<br>
<div id="pincode"><p>Check Estimated Delivery Date For your Location : </p>
<input type="text" placeholder="Enter pincode" id="inppin">
<button id="pinbut"> Chek Now</button>
</div>
<div id="socialmed"><p>Share with friends :
</p>
<img id="socil" src="https://in.sugarcosmetics.com/sharebtn/Whatsapp.svg" alt="">
<img id="socil" src="https://in.sugarcosmetics.com/sharebtn/Facebook.svg" alt="">
<img id="socil" src="https://in.sugarcosmetics.com/sharebtn/Twitter.svg" alt="">
<img id="socil" src="https://in.sugarcosmetics.com/sharebtn/Tumblr.svg" alt="">
<img id="socil" src="https://in.sugarcosmetics.com/sharebtn/Linkedin.svg" alt="">
</div>
<div id="boxtext">
<h3>Available Offers!! </h3>
<p>– FREE Blend The Rules Eyeshadow Palette on a spend of Rs.1199
<u>know more</u></p>
<p>– Get a Time To Shine Lip Gloss, Uptown Curl Lengthening Mascara - 01 Black</p>
<p>Beauty and Pouch on a spend of Rs. 1098 <u>know more</u></p>
<p>– Free Complimentary Products Worth Rs.599
<u>know more</u></p>
<P>– Free Complementary Products Worth Rs.1499<u>know more</u>
</P>
<p>– Free Complementary Products Worth Rs.1999<u>know more</u>
</p>
<div id="discrip">
<button id="txt1" onclick="munna()" >Description</button>
<button id="txt2" onclick="aunna()" >How to apply</button>
<button id="txt3" onclick="bunna()" >Ingredints</button>
<button id="txt4" onclick="cunna()" >Commonly asked quetions</button>
<button id="txt5" onclick="dunna()" >Reviews</button>
</div>
<div id="txtapnd">
<!-- appendyourtext description text -->
<p>Glam up your pout with our beautifully bold, incredibly long-lasting and gorgeously vivid SUGAR Matte As Hell Crayon Lipstick. This lipstick lives up to its title by providing the most smooth, silky soft matte finish!
Blending confident colour with desir</p>
</div>
<hr class="mx-3" style="background: rgb(196, 196, 196); height: 3px;">
<div
style="font-weight: bold; font-size: 36px; font-style: normal; font-family: Calibri; line-height: 43.95px;text-align: center;">SIMILAR PRODUCTS</div>
<div id="extprod">
<div>
<img src="https://cdn.shopify.com/s/files/1/0906/2558/products/01.jpg?v=1644399711" alt="">
<h4>CRAYON LIPSTICK</h4>
<h5>₹ 799.00</h5>
<div id="btnxtr">ADD TO CARD</div>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0906/2558/products/1_6f55bcac-3e42-4253-88ee-cec0fa43c62a.jpg?v=1645608270" alt="">
<h4>KHOL OF HONOR INTENCE</h4>
<h5>₹ 699.00</h5>
<div id="btnxtr">ADD TO CARD</div>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0906/2558/products/sugar-cosmetics-smudge-me-not-liquid-lipstick-matte-as-hell-crayon-lipstick-value-set-14600053391443.jpg?v=1619119204" alt="">
<h4>METTLE PRIMING BALM</h4>
<h5>₹ 1149.00</h5>
<div id="btnxtr">ADD TO CARD</div>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0906/2558/products/1_172725a5-b5f9-4648-869a-4c05561a1f81.jpg?v=1650023118" alt="">
<h4>9-IN-1 BEAUTY KIT</h4>
<h5>₹ 1999.00</h5>
<div id="btnxtr">ADD TO CARD</div>
</div>
</div>
<hr class="mx-3" style="background: rgb(196, 196, 196); height: 3px; margin-top: 20px;">
<div class="d-flex justify-content-center my-3" style="font-weight: bold; text-align:
center;margin-top: 20px; font-size: 36px; font-style: normal; font-family: Calibri; line-height: 43.95px;
">SHOP FROM RECENTLY VIEWED <svg class="MuiSvgIcon-root mx-1" focusable="false" viewBox="0 0 24 24" aria-hidden="true" style="height: 40px; font-size: 32px;">
<path d="M19 6h-2c0-2.76-2.24-5-5-5S7 3.24 7 6H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-7-3c1.66 0 3 1.34 3 3H9c0-1.66 1.34-3 3-3zm0 10c-2.33
0-4.29-1.59-4.84-3.75-.17-.63.32-1.25.97-1.25.47 0 .85.34.98.8.35 1.27 1.51 2.2 2.89 2.2s2.54-.93 2.89-2.2c.13-.46.51-.8.98-.8.65 0 1.13.62.97 1.25C16.29 11.41 14.33 13 12 13z"></path></svg></div>
<div id="extprod">
<div>
<img src="https://cdn.shopify.com/s/files/1/0906/2558/products/1_529c20ee-c872-4029-9702-8580d7b9a66f.jpg?v=1640178644" alt="">
<h4>FACE FOUNDATION STICK</h4>
<h5>₹ 799.00</h5>
<div id="btnxtr">ADD TO CARD</div>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0906/2558/products/sugar-cosmetics-pocket-mirror-28140095602771.jpg?v=1619156209" alt="">
<h4>POCKET MIRROR</h4>
<h5>₹ 28</h5>
<div id="btnxtr">NOTIFIY ME</div>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0906/2558/products/sugar-cosmetics-charcoal-patrol-face-mask-12775752564819.jpg?v=1619113688" alt="">
<h4>LIPCRAYON+LIQUID</h4>
<h5>₹ 1149.00</h5>
<div id="btnxtr">ADD TO CARD</div>
</div>
<div>
<img src="https://cdn.shopify.com/s/files/1/0906/2558/products/382512089-mettle-priming-balm-01.jpg?v=1648654861" alt="">
<h4>Mettle Priming Balm</h4>
<h5>₹ 1999.00</h5>
<div id="btnxtr">ADD TO CARD</div>
</div>
</div>
</div>
</div>
<!-- fottterpart -->
<div id="footer">
<div class="footer-container">
<div class="footer-company-logo">
<div><img src="https://in.sugarcosmetics.com/Footer_sugar_icon.png" alt="company logo"></div>
</div>
<div class="footer-reachout-links">
<div>
<div><a href="https://www.facebook.com/trySUGAR/"><img src="https://in.sugarcosmetics.com/desc-images/facebook.svg" alt=""></a></div>
<div><a href="https://mail.google.com/mail/u/0/?fs=1&tf=cm&source=mailto&su=Check+this+https://in.sugarcosmetics.com/pages/offer"><i class="fa-solid fa-envelope"></i></a></div>
<div><a href="https://www.instagram.com/trysugar/?hl=en"><img src="https://in.sugarcosmetics.com/desc-images/Instagram.svg" alt=""></a></div>
<div><a href="https://www.pinterest.com/sugarcosmetics/"><img src="https://in.sugarcosmetics.com/desc-images/Pinterest.svg" alt=""></a></div>
<div><a href="https://sugarcosmetics-blog.tumblr.com/"><img src="https://in.sugarcosmetics.com/desc-images/Tumblr.svg" alt=""></a></div>
<div><a href="https://www.youtube.com/channel/UCKVqnev2idvmUNKc2b91B8g"><img src="https://in.sugarcosmetics.com/desc-images/Youtube.svg" alt=""></a></div>
<div><a href="https://twitter.com/trySUGAR"><img src="https://in.sugarcosmetics.com/sharebtn/Twitter.svg" alt=""></i></a></div>
</div>
</div>
<div class="footer-signup-app">
<div>
<h5>SUBSCRIBE TO OUR NEWSLETTER</h5>
<div>
<input type="email" placeholder="Your email address" role="textbox" >
<div class="footer-signup-app-button"><button role="button">SIGN UP</button></div>
</div>
</div>
<div>
<h5>GET THE NEW SUGAR APP TODAY.</h5>
<div>
<div id="footer-para"><p>Tap into a better shopping experience.</p></div>
<div id="footer-play-store"><a href="https://sugarcosmetics.app.link/WebFApp"><img src="https://in.sugarcosmetics.com/playstore.png" alt=""></a></div>
<div id="footer-apple-store"><a href="https://sugarcosmetics.app.link/WebFApp"><img src="https://in.sugarcosmetics.com/apple-store.png" alt=""></a></div>
</div>
</div>
</div>
<div class="footer-information">
<div><h5>INFORMATION</h5></div>
<div>
<div><a href="https://mail.google.com/mail/u/0/?fs=1&tf=cm&source=mailto&[email protected]">Contact Us</a></div>
<div><a href="https://in.sugarcosmetics.com/pages/terms-conditions">Terms & Consitions</a></div>
<div><a href="https://in.sugarcosmetics.com/pages/returns-refunds">Returns</a></div>
<div><a href="https://in.sugarcosmetics.com/pages/faqs">FAQs</a></div>
<div><a href="https://in.sugarcosmetics.com/pages/about-us">About Us</a></div>
</div>
</div>
<div class="footer-get-in-touch">
<div><h5>GET IN TOUCH</h5></div>
<div>
<div class="footer-get-in-touch-box1">
<div>
<img src="https://in.sugarcosmetics.com/desc-images/phone_android_white.svg" alt="">
<div>Call us at</div>
</div>
<a href="">1800-209-9933</a>
<div>Monday to Friday : 9 AM to 7 PM</div>
</div>
<div class="footer-get-in-touch-box2">
<div>Support</div>
<a href="https://mail.google.com/mail/u/0/?fs=1&tf=cm&source=mailto&[email protected]">[email protected]</a>
</div>
<div class="footer-get-in-touch-box3">
<div>WORK WITH US</div>
<a href="https://mail.google.com/mail/u/0/?fs=1&tf=cm&source=mailto&[email protected]">[email protected]</a>
</div>
<div class="footer-get-in-touch-box4">
<div>PRESS & MEDIA</div>
<a href="https://mail.google.com/mail/u/0/?fs=1&tf=cm&source=mailto&[email protected]">[email protected]</a>
</div>
<div class="footer-get-in-touch-box5">
<div>INFLUENCER COLLAB</div>
<a href="https://blog.sugarcosmetics.com/collab">JOIN US</a>
</div>
</div>
</div>
<hr>
<div>Copyright © 2022 SUGAR Cosmetics. All rights reserved.</div>
</div>
</div>
</body>
</html>
<script src="addtocart.js"></script>
<script src="login.js"></script>
<script src="register.js"></script>
<script src="navbar.js"></script>
<script src="https://kit.fontawesome.com/266a9d5dc8.js" crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/48afb18fb2.js" crossorigin="anonymous"></script>