-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtopDeals.html
409 lines (306 loc) · 17.3 KB
/
topDeals.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
<!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>Top Deals</title>
<link rel="stylesheet" href="./topDeals.css">
<!-- Jquery script for including navbar to all pages -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<!-- Start Script by Rajashree -->
<script>
$(function(){
$('#navbar').load('navbar.html')
});
</script>
<script>
$(function(){
$('#footer').load('bottompage.html')
});
</script>
<!-- End Script by Rajashree -->
</head>
<body>
<!-- Commented part -->
<div id="navbar"></div>
<!-- <header>
<a class="navCls" href="navbar.html"></a>
</header> -->
<!-- 1. Everything inside that container -->
<div id="container">
<!-- 2. Banner contains img, text -->
<div class="banner">
<img class="lapImg"
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/GL72512_220328_VPT-LV-f7d6de7e-ff64-4443-a98e-11d49d0d3e39.jpg"
alt="">
<div class="closeToImg">
<button class="topDealBtn"> Top Deals</button>
<p class="margBot">Great Deals</p>
<p class="margTop">happening right now.</p>
</div>
</div >
<!-- 3. Flex btn and para -->
<div class="belowBanner">
<div class="flexing">
<button class="topDealBtn marg">Top Deals</button>
<p class="shiftLeft">Top Deals
Today’s featured deals and top tech. Valid through 4/3/22.*
</p>
</div>
<!-- 4. horizontal line -->
<hr class="hrStyle">
<!-- 5. top deals category -->
<div class="topDealCat">
<!--5.1 ten outer divs -->
<div class="oneDiv">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/FeaturedDeals_Blue_Solid_Lg_RGB-104799.png;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">Featured Deals</a>
</div>
<div class="oneDiv">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6479/6479683_sd.jpg;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">Laptops & Computers</a>
</div>
<div class="oneDiv">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6470/6470258_sd.jpg;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">TVs & Projectors</a>
</div>
<div class="oneDiv">
<img id="imgStyle" src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6356/6356072_sd.jpg;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">Video Games</a>
</div>
<div class="oneDiv">
<img id="imgStyle" src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6443/6443321_sd.jpg;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">Apple</a>
</div>
<div class="oneDiv">
<img id="imgStyle" src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6408/6408356_rd.jpg;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">Headphones</a>
</div>
<div class="oneDiv">
<img id="imgStyle" src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6494/6494419_sd.jpg;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">Cell Phones</a>
</div>
<div class="oneDiv">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6403/6403872_sd.jpg;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">Tablets</a>
</div>
<div class="oneDiv reduceWidth">
<img id="imgStyle" src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6168/6168626_sd.jpg;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">Major Appliances</a>
</div>
<div class="oneDiv increaseWidth">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/5850/5850410_sd.jpg;maxHeight=140;maxWidth=140" alt="">
<a style="padding: 16px; text-align: center;" href="">Small Kitchen Appliances</a>
</div>
</div>
<!-- 6. Just heading tag -->
<h2 class="hMargBot">Today’s featured deals</h2>
<!-- 7. Horizontal Line -->
<hr class="hrStyle hrMargBot">
<!-- 8. todayDeals -->
<div class="todayDeals">
<div class="up_sec">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/MMT-527151_xlarge-af265fd1-bc72-491e-8a74-183a0bfc0ad7.jpg" alt="">
<div class="topLeft">
<span>Big-screen TVs as low as</span>
<span><span id="spn">$</span>299<sup class="supScript">99</sup> </span>
</div>
<p>Free shipping, delivery or Curbside Pickup. Installation available.
</p>
<p>Insignia™ model NS-50F301NA22 is $299.99 (not pictured).
</p>
<button class="tod_btn">Shop Now</button>
</div>
<!-- Commenting since below div is made by js to add cart items -->
<div class="low_sec" style="display: none;">
<div class="firstItem">
<div>
<img id="fi_item_img" src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6451/6451519_sd.jpg;maxHeight=160;maxWidth=160" alt="">
<img id="fi_item_logo" src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/Samsung_4C_eps_renditionpicker_319x319-91889.png;maxHeight=70;maxWidth=120" alt="">
</div>
<a href="" class="itemName">samsung-82-class-q60t-series-led-4k-uhd-smart-tizen</a>
<span class="fi_item_price">$1599</span>
<span class="pad_left">
<button id="fi_item_btn"><img id="cart_img" src="./images/shopping-cart.png" alt=""> Add to Cart</button>
</span>
</div>
<div>
<div class="firstItem">
<div>
<img id="fi_item_img" src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6480/6480926_sd.jpg;maxHeight=640;maxWidth=550" alt="">
<img id="fi_item_logo" src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/Insignia_4C_eps_renditionpicker_319x319-91902.png;maxHeight=70;maxWidth=120" alt="">
</div>
<a href="" class="itemName">Insignia-75-class-f30-series-led-4k-uhd-smart-fire</a>
<span class="fi_item_price">$689.99</span>
<span class="pad_left">
<button id="fi_item_btn"><img id="cart_img" src="./images/shopping-cart.png" alt=""> Add to Cart</button>
</span>
</div>
</div>
<div class="firstItem">
<div>
<img id="fi_item_img" src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6401/6401726_sd.jpg;maxHeight=160;maxWidth=160" alt="">
<img id="fi_item_logo" src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/Samsung_4C_eps_renditionpicker_319x319-91889.png;maxHeight=70;maxWidth=120" alt="">
</div>
<a href="" class="itemName">Samsung-58-class-q60t-series-led-4k-uhd-smart-tizen</a>
<span class="fi_item_price">$479.99</span>
<span class="pad_left">
<button id="fi_item_btn"><img id="cart_img" src="./images/shopping-cart.png" alt=""> Add to Cart</button>
</span>
</div>
<div class="firstItem">
<div>
<img id="fi_item_img" src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/6470/6470258_sd.jpg;maxHeight=640;maxWidth=550" alt="">
<img id="fi_item_logo" src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/TCL_Red_4_Rev_eps_renditionpicker_319x319-92350.png;maxHeight=70;maxWidth=120" alt="">
</div>
<a href="" class="itemName">TCL-50-class-5-series-qled-4k-uhd-smart-google</a>
<span class="fi_item_price">$479.99</span>
<span class="pad_left">
<button id="fi_item_btn"><img id="cart_img" src="./images/shopping-cart.png" alt=""> Add to Cart</button>
</span>
</div>
</div>
</div>
<!-- JS cart items -->
<div id="itemSection"></div>
<hr>
<!-- /* 9. Outlet Event */ -->
<div class="fiftyPercentDeals">
<div class="fif_padding">
<div>
<button class="fif_btn"><span class="out_clr">Outlet</span> <span class="eve_clr">Event</span></button>
</div>
<p class="saveCls">Save up to</p>
<p id="disc">50%</p>
<p class="onClr">on clearance and open box</p>
</div>
<div>
<a class="fif_sec_col_link" href="">Save up to 50% on clearance and open-box items.
</a>
<p>Find great deals on a huge selection of products.</p>
<p>Ends 4/17/22. Online and in store. Minimum savings is 5%. Exclusions apply.
</p>
<button class="fif_btn">Shop Now</button>
</div>
<div>
<img class="third_col_img" src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/pol-MMT-524588-der-0758b409-d566-474e-b203-4e1f04cbdd44.jpg;maxHeight=302;maxWidth=504" alt="">
</div>
<div>
<a class="fif_sec_col_link" href="">Electric bikes and more.
</a>
<p>Energy-efficient and enjoyable to ride, e-vehicles are ideal for families and individuals.</p>
<button class="fif_btn">Shop Now</button>
</div>
</div>
<!-- /* 10. More of this div */ -->
<div class="moreofMonth">
<div>
<p class="more_first_para">More speaking up<span class="more_dot_clr">.</span>More moving forward<span class="more_dot_clr">.</span></p>
<p class="more_sec_para">See how we’re amplifying the voices of women in tech and throughout the digital world, with the goal of promoting digital equity.</p>
<button class="more_btn">Learn More</button>
</div>
<div>
<p class="more_first_para">More of this.</p>
</div>
</div>
<!-- /* 11. save up to 400 dollars */ -->
<div class="fourDollars">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/custom_fluid_lg_mmt-514753-413b3d02-417d-4a27-ab91-850276076d52.jpg" alt="">
<div class="four_text">
<span>Save up to</span>
<span><span id="four_spn">$</span>400</span>
<span class="four_thirdLine">on select Windows laptops.</span>
<span>Minimum savings is $30.</span>
<button class="four_btn">Shop Now</button>
</div>
</div>
<!-- 12. save up to 400 dollars -->
<div class="iphone13Pro">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/SOL-93899-TopDeals_iPhone13Pro-Custom-XL-cb71882a-fb85-4835-9211-f3a427bf78f6.jpg" alt="">
<div class="iph_cls">
<div>
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/SOL-93899-iPhone13pro-Logo-Lockup-1ffc872e-4431-45bd-bf44-019cca475f6b.png" alt="">
</div>
<div class="iph_marg">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/MMT-528765-now-in-apline-green-logo-3b0880d6-af44-4d94-be2f-665199f693f0.png" alt="">
</div>
<p class="iph_para_fi_wid">Save up to $1,000 with qualified activation
and trade-in of iPhone 11 Pro or newer.</p>
<p class="iph_para_sec_clr">Terms and conditions apply.
</p>
<button class="iph_btn">Shop Now</button>
</div>
</div>
<!--13. oven and dinasaur items -->
<div class="randomItems">
<div class="ran_fi_img">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/images/products/5850/5850410_sd.jpg;maxHeight=302;maxWidth=504" alt="">
</div>
<div class="ran_sec_col" id="addingToCart">
<p class="ran_para_colr">Other Color Available</p>
<a id="cartItemName" href="">Breville-smart-oven-air-fryer-pro-convection-toaster-pizza-oven-stainless-steel</a>
<span id="cartItemPrice" class="fi_item_price">$349.95</span>
<span class="pad_left">
<button id="fi_item_btn"><img id="cart_img" src="./images/shopping-cart.png" alt=""> Add to Cart</button>
</span>
</div>
<div class="ran_sec_img">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/pol_MMT-528275_der-f53987a5-c3ee-4d33-973c-cdd743dd697d.jpg;maxHeight=302;maxWidth=504" alt="">
</div>
<div class="ran_four_col">
<a href="">Toy for spring gifts</a>
<p>Surprise a child in your life with toys, trading cards and more.</p>
<p>Some items chosen at random.</p>
<button class="ran_btn">Shop Now</button>
</div>
</div>
<!-- 14. bestBuy totaltech -->
<div class="totalTech">
<div class="tot_fi_div">
<div class="tot_fi_col">
<img id="tot_fi_img" src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/tt-color-logo-gl66402-91da81e0-6a26-4b0f-96c9-9cace52b7303.png" alt="">
<p class="tot_fi_col_para">The membership you and your tech deserve.</p>
<p>Best Buy Totaltech™ provides 24/7/365 tech support, up to 24 months of product protection with active membership, free standard installation and so much more.</p>
<p class="tot_fi_col_para_third">Terms and conditions apply.</p>
<button class="tot_fi_col_btn">Learn More</button>
</div>
<div class="tot_fi_sec_col">
<img id="tot_fi_sec_col_img" src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/custom-sm-bg-tts-gl67745-52a13f6e-024c-4f0e-bd92-d3ce5851d96d.png" alt="">
</div>
</div>
<div class="tot_sec_div">
<div class="tot_sec_div_col">
<img id="tot_fi_img" src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/GL-66613-total-tech-tall-logo-588dcc64-257f-4bc3-9003-0114cee4bfc7.png" alt="">
<p class="tot_sec_div_para_fi">Exclusive product savings for members.</p>
<p id="tot_sec_div_para_sec">Whether you’re a Best Buy Totaltech™ member or thinking of joining, here are today’s featured discounts, with many more available online and in store.</p>
<button class="tot_sec_div_col_btn">Shop Now</button>
</div>
</div>
</div>
<!-- 15. 12 month financing -->
<div class="financing">
<div class="fin_fi_div">
<img src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/GL-72360-cbw-cc-lv-220325-d27ab18d-28ae-4c31-aeb5-60179c9bc43d.jpg" alt="">
<div class="fin_fi_text_left">
<p>12 month financing</p>
<p>on storewide purchases $299 and up.</p>
<button>Learn More</button>
</div>
<div class="fin_fi_text_right">
<p>Interested in a</p>
<p>no credit</p>
<p>needed*See disclosure option?</p>
<button>Learn More</button>
</div>
</div>
<!-- <div>
</div> -->
</div>
</div>
</div>
<div id="footer"></div>
</body>
</html>
<script src="topDeals.js"></script>
<!-- <script src="./topDeals.js"></script> -->