-
Notifications
You must be signed in to change notification settings - Fork 2
/
EmptyBasket.html
826 lines (807 loc) · 22.3 KB
/
EmptyBasket.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
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
<!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>Basket</title>
<link rel="stylesheet" href="./Products/footer.css">
<link rel="stylesheet" href="./Products/navbar.css">
<style>
#bodyMargin{
width: 90%;
margin: auto;
}
#outerLayout {
width: 40%;
margin: auto;
margin-bottom: 150px;
}
#innerDiv{
/* border: 1px solid red; */
width: 70%;
padding: 20px;
margin: auto;
}
#innerDiv>img{
display: block;
/* border: 1px solid red; */
margin: auto;
margin-top: -20px;
margin-bottom: 20px;
}
#innerDiv>p{
text-align: center;
font-size: 18px;
margin-top: 30px;
}
#btn{
display: flex;
justify-content: space-between;
gap: 15px;
/* border: 1px solid red; */
padding: 5px;
}
#btn>button{
border: 1px solid blue;
background-color: aliceblue;
color: blue;
padding: 10px;
}
#TopPtag{
font-size: 30px;
text-align: center;
margin-top: 50px;
margin-bottom: 10px;
}
a{
text-decoration: none;
color: blue;
}
body, #upper2nav {
width: 100%;
margin: 0px;
box-sizing: border-box;
}
/* NAVBAR 1 */
#outerNavbar1 {
background-color: black;
width: 100%;
box-sizing: border-box;
}
#navbar1 {
display: grid;
grid-template-columns: repeat(2, 1fr);
justify-content: space-between;
width: 90%;
margin: auto;
justify-content: space-between;
font-family: "Poppins", sans-serif;
color: white;
font-size: 14px;
box-sizing: border-box;
}
#outerNavbar1 > div {
/* border: 1px solid red; */
display: grid;
gap: 200px;
}
#outerNavbar1 > div > div:nth-child(2) {
margin-left: 150px;
/* border: 1px solid red; */
}
#navbar1 > div > div:first-child > img {
width: 30px;
}
#navbar1 > div > div > img {
display: block;
align-items: center;
width: 20px;
}
#navbar1 > div:first-child {
display: flex;
width: auto;
cursor: pointer;
}
#navbar1 > div:first-child > div {
display: flex;
/* border: 1px solid red; */
align-items: center;
gap: 10px;
}
#navbar1 > div:first-child > div:first-child > img {
/* border: 1px solid red; */
width: 30px;
}
#navbar1 > div:first-child > div > img {
background-color: white;
}
#navbar1 > div:last-child {
display: flex;
align-items: center;
cursor: pointer;
width: 80%;
}
#navbar1 > div:last-child > div:nth-child(1),
#navbar1 > div:last-child > div:nth-child(2) {
padding: 5px 10px;
width: auto;
border-right: 1px solid rgb(93, 94, 92);
}
#navbar1 > div {
display: flex;
/* border: 1px solid grey; */
}
#navbar1 > div:last-child > div:nth-child(3) {
/* border: 1px solid red; */
padding-left: 10px;
padding-right: 0px;
width: auto;
}
/* NAVBAR 2 */
#nav-2 {
width: 100%;
background-color: #f7f8f7;
}
#navbar2 {
display: grid;
grid-template-columns: 2fr 1fr;
width: 90%;
margin: auto;
height: 50px;
box-sizing: border-box;
margin-top: 4px;
position: sticky;
top: 0px;
font-family: "Poppins", sans-serif;
font-size: 14px;
background-color: #f7f8f7;
}
#navbar2 > div:first-child {
display: grid;
grid-template-columns: 10% 10% 10% 10% 10% 50%;
align-items: center;
}
#navbar2 > div:first-child > div {
height: 100%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
/* hover style */
#navbar2 > div:first-child > div:hover {
color: rgb(10, 22, 150);
}
#navbar2 > div:first-child > div:first-child {
color: rgb(48, 58, 178);
font-size: 36px;
font-weight: bolder;
display: flex;
justify-content: center;
align-items: center;
padding: 0px;
margin-bottom: 7px;
}
span {
color: rgb(228, 0, 43);
font-size: 36px;
}
#navbar2 > div:first-child > div:last-child > img {
width: 5%;
padding: 5px 0px 5px;
background-color: rgb(236, 237, 235);
}
#navbar2 > div:first-child > div:last-child {
display: flex;
justify-content: start;
height: 80%;
gap: 20px;
background-color: rgb(236, 237, 235);
padding-left: 10px;
margin-bottom: 0px;
}
/* input tag */
input {
background-color: rgb(236, 237, 235);
border: none;
outline: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
box-sizing: border-box;
width: 100%;
}
#navbar2 > div:first-child + div > div:last-child > img {
width: 20%;
}
#left-nav {
display: grid;
grid-template-columns: 30% 30%;
justify-content: flex-end;
align-items: center;
}
#left-nav > div:first-child {
height: 60%;
border-right: 1px solid rgb(200, 201, 198);
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
#left-nav > div:last-child {
/* border: 1px solid red; */
display: flex;
gap: 1px;
justify-content: center;
margin-right: 20px;
/* margin-left: -40px; */
gap: 10px;
cursor: pointer;
align-items: center;
}
#left-nav > div {
display: flex;
gap: 20px;
}
#left-nav > div > p {
margin-right: -30px;
}
#left-nav > div > a {
display: flex;
align-items: center;
justify-content: center;
margin: auto;
gap: 20px;
}
#left-nav > div > a > p {
/* border: 1px solid blue; */
/* margin-right: 5px; */
font-size: 16px;
width: auto;
margin-left: 10px;
}
#left-nav > div > a > img {
/* border: 1px solid green; */
width: 25px;
display: block;
margin: auto;
/* margin-right: 30px; */
}hr {
width: 100%;
margin-left: 0px;
margin-bottom: 40px;
border: 0.2px solid rgb(241, 235, 235);
}
#footerSubDow {
display: flex;
width: 100%;
justify-content: space-between;
gap: 10px;
margin-top: 30px;
margin-bottom: 30px;
}
#Sub {
width: 60%;
}
#Dow {
width: 40%;
margin-top: 10px;
}
h4 {
font-family: ProximaNova-Bold, "Helvetica Neue", Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji";
font-size: 24px;
font-weight: bolder;
margin-top: 1px;
margin-left: 0px;
}
h4 + p {
color: #929391;
margin-top: 5px;
margin-left: 0px;
font-size: 16px;
font-family: ProximaNova-Regular, "Helvetica Neue", Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji";
}
#footerSubDow > div > input,
button {
margin-top: 10px;
padding: 18px 24px;
font-size: 20px;
}
#footerSubDow > div > input {
width: 45%;
background-color: #f7f8f7;
}
#footerSubDow > div > button {
width: 25%;
margin-left: -5px;
background-color: black;
color: white;
}
#Dow > div {
display: flex;
justify-content: space-between;
/* border: 1px solid red; */
width: 80%;
height: 70px;
margin-top: 20px;
margin-left: 0px;
}
#Dow > div > div {
width: 48%;
/* border: 1px solid mediumaquamarine; */
}
#Dow > div > div > img {
width: 100%;
height: 100%;
}
#footerMenu {
/* border: 1px solid red; */
margin: auto;
width: 100%;
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 5px;
}
#footerMenu > div {
/* border: 1px solid black; */
width: 150px;
height: 220px;
}
#footerMenu > div > div {
margin-top: 3px;
font-size: 14px;
color: rgba(0, 0, 0, 0.576);
cursor: pointer;
}
h6 {
font-size: 16px;
font-weight: bold;
margin-bottom: 5px;
}
#footerSocial {
/* border: 1px solid black; */
margin: auto;
width: 100%;
margin-top: -30px;
margin-bottom: 15px;
}
#footerSocial > #main {
width: 100%;
/* border: 1px solid red; */
justify-content: space-between;
display: flex;
}
#footerSocialSub1 {
/* border: 1px solid blue; */
width: 80%;
margin-left: 0px;
}
#footerSocialSub1 > div {
/* border: 1px solid red; */
display: flex;
width: 100%;
justify-content: space-between;
}
#footerSocialSub1 > div > div {
/* border: 1px solid black; */
width: 100%;
display: flex;
justify-content: space-between;
}
#footerSocialSub1 > div > div > div:first-child {
border: 1px solid #c8c9c6;
width: 50px;
height: 45px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
#footerSocialSub1 > div > div > div:first-child > div {
width: 14px;
height: 14px;
}
#footerSocialSub1 > div > div > div:last-child {
margin-left: 10px;
}
#footerSocialSub1 > div > div > div:last-child > div {
margin-top: 3px;
}
#footerSocialSub2 {
display: flex;
width: 15%;
}
#footerSocialSub2 > div {
/* border: 1px solid red; */
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
#footerSocialSub2 > div:hover {
background-color: rgba(0, 0, 0, 0.067);
}
#footerSocialSub2 > div > div {
width: 25px;
height: 25px;
}
#footerSocialSub2 > div > div > img {
width: 100%;
}
#footerBottom {
margin: auto;
margin-top: 20px;
height: 70px;
width: 100%;
}
#footerBottom > div {
display: flex;
width: 350px;
}
#footerBottom > div > div:first-child {
margin: auto;
width: 30%;
}
#footerBottom > div {
display: flex;
margin-left: 0px;
}
#footerBottom > div > div:first-child > img {
display: block;
margin-left: 0px;
width: 100%;
}
#footerBottom > div > div:last-child {
width: 70%;
margin-left: 10px;
font-size: 14px;
display: block;
align-content: center;
margin: 20px;
color: #929391;
}.women > button {
background-color: #f7f8f7;
border: none;
font-size: 14px;
margin-bottom: 10px;
padding: 8px 0px;
}
.women > button:hover {
cursor: pointer;
background-color: white;
}
#signupBtn > button {
background-color: #f7f8f7;
border: none;
font-size: 14px;
/* border-right: 2px solid rgb(201, 196, 196); */
padding: 8px 0px;
margin-right: 10px;
margin-bottom: 10px;
}
#signupBtn > button:hover {
cursor: pointer;
background-color: white;
}
#basket-btn > button {
display: flex;
}
#basket-btn > button > img {
margin-left: 10px;
width: 15px;
}
img{
width: 15px;
}
/* Footer style ended */
</style>
</head>
<body>
<!-- nav bar starts -->
<div id="upper2nav">
<div id="outerNavbar1">
<div id="navbar1">
<div>
<div>
<img
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD0AAAA9CAMAAAApvJHbAAAAYFBMVEUAAAD///+kpKQZGRkwMDDl5eW+vr7Ly8vf399YWFiLi4tJSUmRkZEsLCyCgoKnp6fv7++tra2ZmZlBQUEQEBDFxcUdHR3X19d5eXlqamr4+PglJSUJCQlQUFBvb2+0tLTnw1w/AAABIklEQVRIie3VXZeCIBCAYcd1NiNA0KJV2/r//3IZP6pjwCncbW94L7qZnlCOUpalUqk3tNd5oEqGtYFgm7D+WKsPpnBnntGf3uH/apRsLkLfxVdpKF7Wx9126Mvqw8t63rWGFm9j9Y60WqVBx2vdATTRmjGAMlrzrLQ/EauPegPQmUg9lr9fnwohRN9G6rHtH2nDa967tbCjU1Dnrkdx1Pq6XT5dT1t6edR6GtV+TVMhl0cAaXo3meD2U2TfDt2VJVrcorRclXfRTAFIiWd7cUhfe9DTuYOg9u6/BNEBNu6nRaHNLlCfkdHauIjWZtjycaRcZyPdNzd038s3eLhv2TP3qTjl3vOhy23PveU+PPPcNbrW86r2XFvDKy6COJVK/XI/aU4OG9BpTLoAAAAASUVORK5CYII="
alt="error"
/>
<p>Free Shipping</p>
</div>
<div>
<img
src="https://cdn-icons-png.flaticon.com/512/590/590511.png"
alt="error"
/>
<p>Return to Store</p>
</div>
<div>
<img
src="https://cdn-icons-png.flaticon.com/512/2898/2898372.png"
alt="error"
/>
<p>Click & Collect</p>
</div>
</div>
<div>
<div>Download Our Apps</div>
<div>Store Locator</div>
<div>Help</div>
</div>
</div>
</div>
<div id="nav-2">
<div id="navbar2">
<div>
<div>ma<span>x</span></div>
<div class="women"><button id="wo">Women</button></div>
<div class="women"><button id="me">Men</button></div>
<div class="women"><button id="ge">Girls</button></div>
<div class="women"><button id="bo">Boys</button></div>
<div style="margin-bottom: 10px">
<img
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTbZzUZTGCkvMMXgByuGlASAtKcGo6N4weBaA&usqp=CAU"
alt="search logo"
/>
<input
type="text"
name=""
id="searchbar"
placeholder="What are you looking for?"
/>
</div>
</div>
<div id="left-nav">
<div id="signupBtn">
<div id="myaccount">Sign Up - Sign in</div>
</div>
<div id="basket-btn" class="women">
<button id="cart-nav">
Basket<img src="./img/bagIcon.png" alt="bagIcon" />
</button>
</div>
</div>
</div>
</div>
</div> <!-- navbar ends -->
<div id="bodyMargin">
<div id="outerLayout">
<p id="TopPtag">Your Shopping Basket</p>
<hr />
<div id="innerDiv">
<img src="./img/emptyBasket.png" alt="emptyBasketIMG" style="width: 320px;" />
<h3>The best fashion is waiting to be added in your cart !</h3>
<p>Choose from the departments below and start shopping now</p>
<div id="btn">
<button>Women</button>
<button>Men</button>
<button>Girls</button>
<button> <a href="./Products/Tees-Polos.html">Boys</a></button>
</div>
</div>
</div>
<div id="footerSubDow">
<div id="Sub">
<h4>Subscribe to our awesome emails.</h4>
<p>Get our latest offers and news straight in your inbox.</p>
<input type="mail" placeholder="Please enter an email address" />
<button><b>Subscribe</b></button>
</div>
<div id="Dow">
<h4>Download our apps</h4>
<p>Shop our products and offers on-the-go.</p>
<div>
<div>
<img
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ9VSQ1kGdvnrdAYQVIVM1JdB_MxhKOpXmWoA&usqp=CAU"
alt="error"
/>
</div>
<div>
<img
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQihbMObs2stYan2aQKMttr81DBv6GVs6elSA&usqp=CAU"
alt="error"
/>
</div>
</div>
</div>
</div>
<hr />
<div id="footerMenu">
<div>
<h6>Women</h6>
<div>tops</div>
<div>Dresses & Jumpsuits</div>
<div>Sportswear</div>
<div>Bottoms</div>
<div>Winterwear</div>
<div>Ethnicwear</div>
<div>Lingerie</div>
<div>Sleepwear</div>
<div>Accessories</div>
<div>Shoes</div>
</div>
<div>
<h6>Men</h6>
<div>Tops</div>
<div>Bottoms</div>
<div>Sportswear</div>
<div>Winterwear</div>
<div>Accessories</div>
<div>Shoes</div>
</div>
<div>
<h6>Boys</h6>
<div>Tops</div>
<div>Bottoms</div>
<div>Indian Wear</div>
<div>Winter Wear</div>
<div>Essentials</div>
<div>Accessories</div>
<div>Shoes</div>
</div>
<div>
<h6>Girls</h6>
<div>Tops</div>
<div>Bottoms</div>
<div>Sportswear</div>
<div>Winterwear</div>
<div>Accessories</div>
<div>Shoes</div>
</div>
<div>
<h6>Explore</h6>
<div>Offers</div>
<div>Magazine</div>
</div>
<div>
<h6>About</h6>
<div>About us</div>
<div>Write to us</div>
<div>Careers</div>
<div>Take a Tour</div>
<div>Blog</div>
<div>Store Locator</div>
<div>Landmark Cares</div>
</div>
<div>
<h6>Help</h6>
<div>Contact us</div>
<div>Shipping</div>
<div>Returns Process</div>
<div>Returns Policy</div>
<div>Help Centre</div>
</div>
</div>
<hr />
<div id="footerSocial">
<div id="main">
<div id="footerSocialSub1">
<div>
<div>
<div>
<div>
<img
src="https://cdn-icons-png.flaticon.com/128/633/633544.png"
alt="error"
/>
</div>
</div>
<div>
<div style="color: rgb(146, 147, 145)">Talk to us</div>
<div>1800-123-1444</div>
</div>
</div>
<div>
<div>
<div>
<img
src="https://cdn-icons-png.flaticon.com/128/7789/7789517.png"
alt="help-center"
/>
</div>
</div>
<div>
<div style="color: rgb(146, 147, 145)">Helpcentre</div>
<div>help.maxfashion.com</div>
</div>
</div>
<div>
<div>
<div>
<img
src="https://cdn-icons-png.flaticon.com/128/712/712040.png"
alt="email-icon"
/>
</div>
</div>
<div>
<div style="color: rgb(146, 147, 145)">Write to us</div>
<div>help,[email protected]</div>
</div>
</div>
</div>
</div>
<div id="footerSocialSub2">
<div>
<div>
<img
src="https://cdn-icons-png.flaticon.com/128/13/13756.png"
alt="facebook"
/>
</div>
</div>
<div>
<div>
<img
src="https://cdn-icons-png.flaticon.com/128/733/733635.png"
alt="twitter"
/>
</div>
</div>
<div>
<div>
<img
src="https://cdn-icons-png.flaticon.com/128/1384/1384031.png"
alt="instagram"
/>
</div>
</div>
</div>
</div>
</div>
<hr />
<div id="footerBottom">
<div>
<div>
<img
src="https://www.landmarkgroup.com/int/sites/default/files/Brand-logo/New%20Max%20Logo-%20Eng%20With%20Outline_1.png"
alt="error"
/>
</div>
<div>
<p>© 2022 Retail World Limited.</p>
<p>Terms & Conditions - Privacy Policy</p>
</div>
</div>
</div>
</div>
<!-- footer html ends -->
</div>
</body>
</html>
<script>
let btn1 = document.querySelector("#bo");
btn1.addEventListener("click", loadPage1);
function loadPage1() {
console.log("clicked")
window.location.href = "./index.html";
}
let btn2 = document.querySelector("#ge");
btn2.addEventListener("click", loadPage2);
function loadPage2() {
window.location.href = "./girls_page.html";
}
let btn6 = document.querySelector("#cart-nav");
btn6.addEventListener("click", loadPage3);
function loadPage3() {
window.location.href = "./Basket.html";
}
let btn3 = document.querySelector("#me");
btn3.addEventListener("click", loadPage3);
function loadPage3() {
window.location.href = "./men/men.html";
}
let btn4=document.querySelector("#wo");
btn4.addEventListener("click",loadPage4);
function loadPage4(){
window.location.href = "";
}
let loginData=JSON.parse(localStorage.getItem("loginData"));
let changeName=document.querySelector("#myaccount");
changeName.innerText=`Hi, ${loginData.name}`;
</script>