-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtotal.html
538 lines (503 loc) · 18.8 KB
/
total.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
<!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>Totaltech Membership</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="total.css" />
<link rel="stylesheet" href="./styles/css/footer.css">
</head>
<body>
<div id="container"></div>
<!-- ///////// top sec ////////// -->
<div class="top-sec">
<h3>Best Buy Totaltech™</h3>
<div>
<p>
Already a member? <span>Go to your account</span> to manage benefits
and get support
</p>
</div>
</div>
<!-- ////////// banner sec ///////// -->
<div class="banner-sec">
<div>
<div class="banner-left-side">
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/gl-66004-tt-logo-der-2x-215847.png"
alt=""
/>
<h1>The membership you and your tech deserve.</h1>
<div class="stars">
<img
src="https://cdn1.iconfinder.com/data/icons/macster/70/.svg-17-128.png"
alt=""
/>
<img
src="https://cdn1.iconfinder.com/data/icons/macster/70/.svg-17-128.png"
alt=""
/>
<img
src="https://cdn1.iconfinder.com/data/icons/macster/70/.svg-17-128.png"
alt=""
/>
<img
src="https://cdn1.iconfinder.com/data/icons/macster/70/.svg-17-128.png"
alt=""
/>
<img
src="https://cdn1.iconfinder.com/data/icons/macster/70/.svg-17-128.png"
alt=""
/>
<span>(6,526 reviews)</span>
</div>
<h2>$199.99 yearly membership</h2>
<button>
<img
src="https://cdn3.iconfinder.com/data/icons/glypho-shopping-and-ecommerce/64/cart-alt-128.png"
alt=""
/>
Add to Cart
</button>
</div>
<div class="banner-img">
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/pol-ghp-cope-tt-gl62892-815ac053-d139-42d6-8c87-b0a93729c0c0.jpg"
alt=""
/>
</div>
</div>
</div>
<!-- ///////// link sec ////////// -->
<div class="link-sec">
<h1><span>Benefits of a Best Buy Totaltech™ membership.</span></h1>
<div class="link-container">
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/benefits-GeekSquad-Logo-gl65363-ee4a55b0-4617-42aa-8224-8ac621634780.jpg"
alt=""
/>
<p>Free Geek Squad® tech support available 24/7/365.</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/sol-85267-protection-icon-f7d4ed27-1e4d-47b9-bd96-7cc826906670.jpg"
alt=""
/>
<p>
Up to 24 months of product protection with an active membership.1
</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/sol-85267-repair-icon-af909eb3-4cd0-4a9a-b146-ec15b0ee8545.jpg"
alt=""
/>
<p>
Free delivery and standard installation for new Best Buy purchases.2
</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/sol-85267-vip-icon-709a40f6-0d5a-42ff-b755-76e3fed483fa.jpg"
alt=""
/>
<p>VIP access to dedicated phone and chat teams.</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/sol-85267-save-icon-7663465b-4dcf-44a4-b3e4-eeda91972bf1.jpg"
alt=""
/>
<p>Access to exclusive Totaltech member prices.</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/sol-85267-shipping-icon-aecefc6a-cf2b-4cf6-ba03-a9474b28b3d2.jpg"
alt=""
/>
<p>Free 2-day shipping.3</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/sol-85267-return-icon-9fe2eb3e-88e3-4611-b535-0be625bf584f.jpg"
alt=""
/>
<p>Extended 60-day return and exchange window on most products.4</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/sol-85267-save-icon-7663465b-4dcf-44a4-b3e4-eeda91972bf1.jpg"
alt=""
/>
<p>Everyday savings on repairs, advanced services and more.</p>
</div>
</div>
</div>
<!-- ///////// video sec //////////// -->
<div class="video-sec">
<div>
<img
src="https://d2vxgxvhgubbj8.cloudfront.net/thumbnails/1937/1242823725_1_Flv_512x288_thumb_2.jpg"
alt=""
/>
</div>
<div>
<h1>Learn more about the benefits.</h1>
<p>
Hear more about the exclusive membership benefits that make it easy to
buy and care for the tech you need, use and love every day.
</p>
</div>
</div>
<!-- ///////////// blue sec ///////////// -->
<div class="blue-sec">
<div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/total-tech-stacked-reverse-sol86118-059fc768-50d8-43ab-b62a-3bded1b62731.png"
alt=""
/>
<br>
<button>Shop Now</button>
</div>
<div>
<h1>Totaltech member exclusive offers.</h1>
<p>
Whether you’re a Totaltech member or thinking of joining, here are
today’s featured deals, with many more available online and in
store.
</p>
</div>
</div>
</div>
<!-- ///////// side side sec ///////// -->
<div class="side-side-sec">
<div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/MMT-236666-geek-agent-177925.jpg;maxHeight=455;maxWidth=484"
alt=""
/>
</div>
<div>
<h1>Tech help, day and night.</h1>
<p>
Let us be your guide through the easiest and most difficult tech
questions. Get unlimited 24/7/365 tech support on all the technology
in your home, no matter where you bought it. We’re always ready to
help you in store, over the phone and 24/7 online.
</p>
<p><span>Learn more about Geek Squad® support</span></p>
</div>
</div>
<div>
<div>
<h1>The tech you love, protected.</h1>
<p>
Say goodbye to debating whether to add protection when you buy new
tech. With Totaltech, you’ll get up to 24 months of product
protection on most new Best Buy purchases, including AppleCare+ on
Apple products, with an active membership.1 For most portable
devices, plans also include protection against drops and spills.
</p>
<p><span>Learn more about protection</span></p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/EVN-201268-applecare-protection-v2-pol-der-6f4137c1-ae6d-4b5a-b08a-818e84a8bd5c.jpg;maxHeight=455;maxWidth=484"
alt=""
/>
</div>
</div>
<div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/gl-66004-install-pol-v2-der-a5ea3646-ed18-4943-9dfd-fc6fc43537b1.jpg;maxHeight=455;maxWidth=484"
alt=""
/>
</div>
<div>
<h1>Free delivery, standard installation and haul-away</h1>
<h3>with new Best Buy purchases.</h3>
<p>
From TV mounting to installing a smart video doorbell, there’s a
huge list of in-home installation services that we’ll do for free
when you purchase your product from Best Buy.2 You’ll also get free
delivery on Best Buy purchases and free haul-away for most TV and
major appliance replacements.5
</p>
<p>
<span
>See the installs we’ll do for free with a product purchase</span
>
</p>
</div>
</div>
<div>
<div>
<h1>Enjoy VIP access to dedicated phone and chat teams.</h1>
<p>
Get expert advice, product recommendations, appointment support and
much more. Connect with us through a dedicated Totaltech support
line, available 24/7/365.
</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/gl-66004-vip-pol-der-dceebe1b-ba85-45fe-9408-baad357a273b.jpg;maxHeight=455;maxWidth=484"
alt=""
/>
</div>
</div>
</div>
<!-- //////// first card sec ////////// -->
<div class="first-card-sec">
<h1>Even more Best Buy Totaltech™ benefits.</h1>
<div class="first-card-container">
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/gl-66004-pricing-pol-v2-der-215911.jpg"
alt=""
/>
<h3>xclusive member pricing.</h3>
<p>
Take advantage of discounts on select products and services
throughout the year.6
</p>
<p><span>Shop now</span></p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/sol83704-entrypoint-pol-der-b2582a14-5d1d-47ce-b868-49807f8d4ce0.jpg"
alt=""
/>
<h3>Get free 2-day shipping.</h3>
<p>
You’ll also get free same-day delivery whenever available. No
minimum purchase required.3
</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/top-EVN-188981-NvidiaRTX-StoreEvent-BBY_Store_DER-67e06f75-2c5d-439f-9151-987612bb672c.jpg"
alt=""
/>
<h3>Get more time to return.</h3>
<p>
Enjoy an extended 60-day return and exchange window on most
products.4
</p>
<p><span>Learn more about extended returns</span></p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/Gallery/gl-66004-tt-repair-pol-v2-der-215912.jpg"
alt=""
/>
<h3>Everyday savings on repairs and more.</h3>
<p>
ave 20% on labor for repairs and advanced services, and 10% on labor
for custom installations.7
</p>
<p><span>Learn about advanced services</span></p>
</div>
</div>
</div>
<!-- ///////// faq sec //////////// -->
<div class="faq-sec">
<h4>Read our Totaltech FAQs</h4>
<div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/GL-72259-pol-mybby-220503-6a5a8474-b0a4-4d42-8bf8-6c6b55497c1a.jpg;maxHeight=305;maxWidth=390"
alt=""
/>
</div>
<div>
<h1>Earn reward points on all eligible purchases.</h1>
<p>
When you join Best Buy Totaltech™, you’ll also become a member of
the My Best Buy® program. The My Best Buy program is free and allows
you to earn reward points on all eligible purchases, view your
purchase history, product warranties and more.
</p>
<p><span>Learn more about My Best Buy</span></p>
</div>
</div>
</div>
<!-- ///////// second-card-sec //////// -->
<div class="second-card-sec">
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/GL-72682-pol-ttc-pm-643ce8f0-af86-42b3-8394-a5a74f8fe579.jpg;maxHeight=280;maxWidth=412"
alt=""
/>
<h3>Building brighter futures.</h3>
<p>
Best Buy Teen Tech Center® programs provide tech access, training and
mentorship to young people in disinvested communities.
</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/FO-695-tt-contactless-cc-851c2c7d-620e-41f6-a796-051955d93fbb.jpg;maxHeight=280;maxWidth=412"
alt=""
/>
<h3>Limited time: 6 month financing</h3>
<p>
on new Best Buy Totaltech™ membership purchases $199 and up. Offer
ends 8/27/22.
</p>
</div>
<div>
<img
src="https://pisces.bbystatic.com/image2/BestBuy_US/dam/evn192164-iha-pol-der-ac0d95bd-cf49-4f1e-b2f9-7f2c8d1903a2.jpg;maxHeight=280;maxWidth=412"
alt=""
/>
<h3>Schedule a free home consultation.</h3>
<p>
Let a Best Buy Home Expert help you bring your dreams to life. Tech,
appliances and more.
</p>
</div>
</div>
<div class="disclose-sec">
<h3>Disclosures.</h3>
<p>
A Best Buy Totaltech™ membership is subject to complete
<span>Terms and Conditions</span>. A My Best Buy® account is required,
subject to the My Best Buy Program Terms. This membership renews
automatically each year and your chosen card will be charged $199.99, or
the then-current price, plus tax, on your yearly renewal date unless you
cancel before then by calling 1-888-BEST BUY (1-888-237-8289) or by
managing subscriptions on your BestBuy.com account. We will send you
advance notice of membership renewal to the email address you provide,
including notice of any price changes.
</p>
<div>
<p>
1. See the complete <span>Terms and Conditions</span> for Best Buy
Protection and AppleCare+ under the “Protection” tab. Best Buy Product
Protection, Inc. is the Obligor and Administrator of the Coverage
under Best Buy Protection Plans. The company obligated under
AppleCare+ in the United States is AppleCare Service Company, Inc., an
Arizona corporation and wholly owned subsidiary of Apple Inc., doing
business in Texas as Apple CSC Inc. Service fees and claim limits
apply.
</p>
<br />
<p>
2. Some limitations may apply. Fees for necessary parts, accessories
or permits will be charged. Delivery and standard installation must be
scheduled as part of the qualifying product purchase.
</p>
<br />
<p>
3. To get free 2-day shipping and free same-day delivery, make sure
you are signed into your account. You can log into your account at any
time during your shopping experience to ensure you are able to take
advantage of your membership benefits. 2-day shipping and same-day
delivery not available in all areas. Select items limited to free
standard shipping at the time of purchase. Limitations apply,
including extra days for shipping due to limited inventory,
constrained carrier capacity, or other conditions beyond our control.
See details for same-day delivery at Same-Day Delivery FAQs. Orders to
P.O. Boxes may result in additional shipping time.
</p>
<br />
<p>
4. Members will benefit from a 60-day return and exchange period on
“most products,” as indicated in our
<span>Returns and Exchanges Policy</span>. All other terms and
conditions of our Returns and Exchanges Policy apply, including, for
example, the 14-day return period on activatable devices (select
carriers may have a longer return period).
</p>
<br />
<p>
5. Some limitations may apply on free delivery. Free haul-away applies
when a haul-away is part of a scheduled delivery and/or installation.
</p>
<br />
<p>
6. Totaltech member prices will be displayed on select products in
store and online for recognized members.
</p>
<br />
<p>
7. Discounts only apply to then-current labor costs. Fees for
necessary parts, accessories or permits will be charged.
</p>
<br />
</div>
</div>
<div id="luci"></div>
</body>
</html>
<script type="module">
import {navbar} from './components/navbar.js'
let container=document.getElementById("container")
container.innerHTML=navbar()
document.getElementById("micro").addEventListener("click",function(){
localStorage.clear()
getData()
})
const options = {
method: 'GET',
headers: {
'X-RapidAPI-Key': '310c5af139msh08ac6c6369fb117p1c43d9jsnf08d69730086',
'X-RapidAPI-Host': 'amazon23.p.rapidapi.com'
}
}
async function getData(){
try{
let query=document.getElementById("search").value
let data=await fetch(`https://amazon23.p.rapidapi.com/product-search?query=${query}&country=US`, options)
let res=await data.json()
console.log(res.result)
localStorage.setItem('products',JSON.stringify(res.result))
window.location.href='Productdisplayproject.html'
}
catch(err){
console.log(err)
}
}
// document.querySelector('#t3').addEventListener('click',function(){
// window.location.href='dealoftheday.html'
// })
document.querySelector('#c').addEventListener('click',function(){
window.location.href='cart.html'
})
document.querySelector('#c').addEventListener('click',function(){
window.location.href='cart.html'
})
document.querySelector('#one').addEventListener('click',function(){
window.location.href='index.html'
})
document.querySelector('#deald').addEventListener('click',function(){
window.location.href='dealoftheday.html'
})
document.querySelector('#tokyo').addEventListener('click',function(){
window.location.href='total.html'
})
document.querySelector('#berlin').addEventListener('click',function(){
window.location.href='creditcard.html'
})
document.querySelector('#denver').addEventListener('click',function(){
window.location.href='health.html'
})
document.querySelector('#dark').addEventListener('click',function(){
window.location.href='signin.html'
})
document.querySelector('#nairobi').addEventListener('click',function(){
window.location.href='signup.html'
})
import {helloworld} from './components/footer.js'
let hell=document.querySelector('#luci')
console.log(helloworld())
hell.innerHTML=helloworld()
</script>