-
Notifications
You must be signed in to change notification settings - Fork 2
/
01.html
283 lines (237 loc) · 8.79 KB
/
01.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
<!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 href="Pictures/favicon-32x32.png" rel="icon" type="image/x-icon" />
<link rel="stylesheet" href="01.css">
</head>
<body>
<!-- icon-script-web (https://ionic.io/ionicons) -->
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>
<div id="container">
<!-- Header part till slideshow -->
<div id="top-header">
<!-- header -1 -->
<!-- <div id="above-nav">
<img src="Pictures/jordan.png" alt="">
<p>Help</p>
<p>|</p>
<p>Join us</p>
<p>|</p>
<p>Sign in</p>
</div> -->
<!-- header -2 -->
<nav>
<img src="Pictures/nike-logo.png" class="logo">
<div id="nav-text">
<p>Men</p>
<a href="womens.html" style="text-decoration:none; color:black;">
<p>Women</p>
</a>
<p>Kids</p>
<p>Customise</p>
<p>Sale</p>
<p>SNKRS</p>
</div>
<ul>
<li>
<ion-icon name="search-outline" class="search-icon"></ion-icon>
</li>
<li>
<ion-icon name="heart-outline" class="heart"></ion-icon>
</li>
<li>
<ion-icon name="bag-outline" class="bag-icon"></ion-icon>
</li>
<!-- <li> <img src="nav.png" class="nav-icon"></li> -->
</ul>
</nav>
<!-- <hr> -->
<!-- slideShow (Dynamic) -->
<!-- <div class="slide">
<p id="f1"> FREE DELIVERY</p>
<p id="f2"> Applies to order of $1400 or more. <u>View details </u></p>
</div> -->
</div>
<!-- Header part till End -->
<div class="container1">
<div id="d1">
<div id="first-pic">
<!-- <img src="www.nike.com-images-86a6bs/06.png" alt=""> -->
</div>
<div>
<img src="Pictures/www.nike.com-images-86a6bs/02.png" alt="">
</div>
<div>
<img src="Pictures/www.nike.com-images-86a6bs/05.png" alt="">
</div>
</div>
<div id="d2">
<div>
<img src="Pictures/www.nike.com-images-86a6bs/01.png" alt="">
</div>
<div>
<img src="Pictures/www.nike.com-images-86a6bs/03.png" alt="">
</div>
<div>
<img src="Pictures/www.nike.com-images-86a6bs/04.png" alt="">
</div>
</div>
<div id="d3">
<div id="a1">
<p>Sustainable Materials</p>
<h1>Nike Sportswear Repel</h1>
<h4>Women's jacket</h4>
</div>
<div id="a2">
<p>$ 5,495</p>
<p>incl. of taxes and rule</p>
</div>
<div id="a3">
<p>Select Size <span>Size Guide</span></p>
<div id="size-btn">
<p> <button>XS</button></p>
<p> <button>S</button></p>
<p> <button>M</button></p>
<p> <button>L</button></p>
<p><button>XL</button></p>
</div>
<div id="a4">
<button onclick=" btnclick()" id="addBag">Add to Bags</button>
<button id="addFav">Favourite</button>
</div>
</div>
<div id="a5">
Cosy and carefree, the Nike Sportswear Repel Jacket offers throwback style ready for
cool-weather layering.Made with at least 75% recycled fibres, the woven fabric has a
lightweight yet durable feel.The sweat-wicking mesh lining offers a breathable layer to
keep you feeling dry throughout the day.
</div>
<div id="a6">
<p>• Color Shown: Black/white/</p>
<p>• Style : CEPOGF-010</p>
<p class="und"><u>View Product details</u></p>
</div>
<hr>
<div id="a7">
<p>Size & Fit</p>
</div>
<hr>
<div id="a8">
<p>Free Delivery and Returns</p>
</div>
<hr>
<div id="a9">
<p>
How this Made
</p>
</div>
<hr>
<div id="a10">
<p>
Reviews(0)
<span>
*****
</span>
</p>
</div>
<hr>
<div id="a11">
<p>Manufacturing & importing Info</p>
</div>
</div>
</div>
<!-- footer part start -->
<div id="footer">
<div class="fotter-div">
<div class="fotter-text">
<p>FIND A STORE</p>
<p>BECOME A MEMBER</p>
<p>SIGN UP FOR EMAIL</p>
<p>STUDENT DISCOUNTS</p>
<p>SEND US FEEDBACK</p>
</div>
<div class="fotter-text-1">
<p>GET HELP</p>
<p>Order Status</p>
<p>Delivery</p>
<p>Return</p>
<p>Payment Options</p>
<p>Contact Us on Nike.com Inquiries</p>
<p>Contact Us On All Other Inquiries</p>
</div>
<div class="fotter-text-1">
<p>ABOUT NIKE</p>
<p>News</p>
<p>Careers</p>
<p>Investors</p>
<p>Sustainability</p>
</div>
<div id="fotter-icon">
<div>
<ion-icon name="logo-twitter"></ion-icon>
</div>
<div>
<ion-icon name="logo-facebook"></ion-icon>
</div>
<div>
<ion-icon name="logo-youtube"></ion-icon>
</div>
<div>
<ion-icon name="logo-instagram"></ion-icon>
</div>
</div>
</div>
<hr id="footer-hr">
<div id="copyright-section">
<div>
<p id="india">
<ion-icon name="location-outline" id="location-icon"></ion-icon>India
</p>
<p>© 2021 Nike, inc. All Rights
Reserved</p>
</div>
<!-- <span>
<ion-icon name="heart"></ion-icon>
</span> -->
<div id="content-last">
<p>Guides</p>
<p>Terms of Sale</p>
<p>Terms of use</p>
<p>Nike Privacy Policy</p>
</div>
</div>
</div>
<!-- footer part End -->
</div>
</body>
</html>
<script>
let parent = document.getElementById("first-pic");
let cart = JSON.parse(localStorage.getItem("prodDetail"));
function showProducts() {
// parent.innerHTML = null;
cart.forEach(function (product) {
let div = document.createElement('div');
let img = document.createElement('img');
img.src = product.image;
div.append(img);
parent.append(div);
});
}
showProducts();
function addCart() {
let product = JSON.parse(localStorage.getItem("prodDetail"));
return product;
}
function btnclick() {
alert("Checkout!");
let final = localStorage.setItem("cart-value", JSON.stringify(addCart()));
window.location.href = "guest.html";
}
// console.log(addCart);
</script>