-
Notifications
You must be signed in to change notification settings - Fork 519
/
index.html
455 lines (424 loc) · 18.5 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#2874F0" id="themeColor">
<title>Flipkart | Online Shopping Site for Mobiles, Electronics, Furniture, Grocery, Lifestyle, Books & More.
Best Offers!</title>
<link rel="icon" type="image/x-icon" href="img/flipkart_lite.png">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="css/homeHeader.css">
<link rel="stylesheet" type="text/css" href="css/index.css">
<link rel="stylesheet" href="css/footer.css">
</head>
<body>
<!-- loader -->
<!-- <div id="loader">
<div class="loader-spinner"></div>
<img src="img/flipkardLoader.png" height="50px" alt="">
</div> -->
<div class="loader-container">
<div class="loader-wrapper">
<div class="loader"></div>
<div class="logo" style="background-image: url('img/flipkart_lite.png');"></div>
</div>
</div>
<!-- loader end -->
<!--Header start -->
<header id="homeHeader">
<nav class="navbar homeHeader navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="https://flipkart-clone-seven-azure.vercel.app/">
<img src="https://static-assets-web.flixcart.com/batman-returns/batman-returns/p/images/fkheaderlogo_exploreplus-44005d.svg"
width="160" height="40" title="Flipkart" alt="Flipkart" />
</a>
<div id="navbarNav_">
<ul class="navbar-nav">
<li class="nav-item navItem1">
<div id="searchbar" class="navtab">
<span id="searchButton" style="display: flex;align-items: center;">
<svg width="24" height="24" class="" viewBox="0 0 24 24" fill="none"
xmlns="http://www.w3.org/2000/svg">
<title>Search Icon</title>
<path
d="M10.5 18C14.6421 18 18 14.6421 18 10.5C18 6.35786 14.6421 3 10.5 3C6.35786 3 3 6.35786 3 10.5C3 14.6421 6.35786 18 10.5 18Z"
stroke="#717478" stroke-width="1.4" stroke-linecap="round"
stroke-linejoin="round"></path>
<path d="M16 16L21 21" stroke="#717478" stroke-width="1.4" stroke-linecap="round"
stroke-linejoin="round"></path>
</svg>
</span>
<span class="flex-grow">
<input id="input_data" type="text" placeholder="Search for Products, Brands and More" />
</span>
<div id="autocompleteResults" class="autocom-box" style="display: none;
position: absolute;
top: 67px;
background: rgb(255, 255, 255);
padding: 10px;
border: rgba(255, 51, 255, 0.2);">
</div>
</div>
</li>
</ul>
<ul class="navbar-nav ml-auto"
style="flex-wrap: nowrap;flex-direction: row;width: 40vw; justify-content: space-around">
<li class="nav-item navItem2 dropdown" id="navbarDropdow">
<a class="nav-link nav-dd acnavdd" href="#" id="navbarDropdown" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<img src="img/svg/profile-.svg" alt="Profile" />
<span class="navname navname_ac"> Account <i class="bi bi-chevron-down"></i><i
class="bi bi-chevron-up"></i></span>
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown" style="left: 0;">
<a class="dropdown-item" href="account/home_account.html">
<img width="20" src="img/svg/profile-.svg" alt="flipKart">
My Profile </a>
<a class="dropdown-item" href="account/login-signup.html">
<img width="20" src="img/svg/profile-.svg" alt="flipKart">
Sign In</a>
<a class="dropdown-item" href="plus/">
<img width="20" src="img/svg/fkplus-+.svg" alt="flipKart">
Flipkart Plus Zone</a>
<a class="dropdown-item" href="account/orders.html">
<img width="20" src="img/svg/orders.svg" alt="flipKart">
Orders</a>
<a class="dropdown-item" href="wishlist/">
<img width="20" src="img/svg/wishList.svg" alt="flipKart">
Wishlist</a>
<a class="dropdown-item" href="account/rewards.html">
<img width="20" src="img/svg/rewards.svg" alt="flipKart">
Rewards</a>
<a class="dropdown-item" href="the-gift-card-store/">
<img width="20" src="img/svg/giftCard.svg" alt="flipKart">
Gift Cards</a>
</div>
</li>
<li class="nav-item navItem3">
<a class="nav-link cartLogoandname" href="viewcart/">
<img
src="https://static-assets-web.flixcart.com/batman-returns/batman-returns/p/images/header_cart-eed150.svg" />
<span class="navname2">Cart</span><span id="cartItems"></span>
</a>
</li>
<li class="nav-item navItem4">
<a class="nav-link" href="sell-online/">
<img src="https://static-assets-web.flixcart.com/batman-returns/batman-returns/p/images/Store-9eeae2.svg"
alt="Become a Seller" />
<span class="navname3">Become a Seller</span>
</a>
</li>
<li class="nav-item navItem5 dropdown " id="moreLinksDropdow">
<a class="nav-link nav-dd" href="#" id="moreLinksDropdown" role="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
<img class="nav-dd"
src="https://static-assets-web.flixcart.com/batman-returns/batman-returns/p/images/header_3verticalDots-ea7819.svg"
alt="More Links" />
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="moreLinksDropdown">
<a class="dropdown-item" href="notifications/"><img width="30" height="20"
src="img/svg/notificationPreferences.svg"
alt="appointment-reminders--v2" />Notification
Preferences</a>
<a class="dropdown-item" href="helpcentre/"><img width="30" height="20"
src="img/svg/helpcenter.svg" alt="imgcc">24x7 Customer Care</a>
<a class="dropdown-item"
href="https://advertising.flipkart.com/"><img
width="30" height="20" src="img/svg/advertise.svg" alt="Advertise">Advertise</a>
<a class="dropdown-item" href="mobile-apps/"><img width="30" height="20"
src="img/svg/downloadApp.svg" alt="img3">Download App</a>
</li>
</ul>
</div>
</nav>
</header>
<!--Header end -->
<!-- categorylist -->
<div id="categorylist-wrapper" class="categorylist-wrapper">
<ul id="categories" class="categories"></ul>
</div>
<!-- carousel start -->
<div class="container-fluid">
<div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="0" class="active"
aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="1"
aria-label="Slide 2"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="2"
aria-label="Slide 3"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="3"
aria-label="Slide 4"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="4"
aria-label="Slide 5"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="5"
aria-label="Slide 6"></button>
<button type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide-to="6"
aria-label="Slide 7"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="img/14691d790ec410a9.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/17a2c4ed00866b1a.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/1f25201ced5d720d.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/345037032e3daaaf.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/3dc8f265914a1426.jpeg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/aa1b2bdcf519b468.jpg" class="d-block w-100" alt="...">
</div>
<div class="carousel-item">
<img src="img/f09f551230626a04.jpg" class="d-block w-100" alt="...">
</div>
</div>
<button class="carousel-control-prev bg-white" style="width: 35px; height: 45%; margin-top: 60px;"
type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<i class="bi bi-caret-left" style="color: black; z-index: 50; margin-right: 10px;"></i>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next bg-white" style="width: 35px; height: 45%;margin-top: 60px;"
type="button" data-bs-target="#carouselExampleIndicators" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<i class="bi bi-caret-right" style="color: black; z-index: 50; margin-right: 10px;"></i>
<span class="visually-hidden">Next</span>
</button>
</div>
</div>
<!-- carousel end -->
<!-- search product show Showing results-->
<div class="containter-fluid bg-white">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<!-- <h4 id="showingrslt">Showing Results</h4> -->
</div>
<div class="container-fluid mt-4">
<div class="row mt-1" id="results"></div>
</div>
</div>
<!-- best of Electronics -->
<div class="containter-fluid bg-white">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<h4>Best of Electronics</h4>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-10">
<div id="bestOfElectronics-product" class="row m-1"></div>
</div>
<div class="col-md-2">
<img src="img/flytecafd87e5.webp" alt="" style="width: 100%; height: 100%; object-fit: contain" class="mdHide">
</div>
</div>
</div>
</div>
<!-- fetch random products -->
<div class="containter-fluid bg-white">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<h4>Suggested for You</h4>
</div>
<div id="rendom-product" class="row m-1"></div>
</div>
<!-- fetch mobile under 15000-->
<div class="containter-fluid bg-white">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<h4>Mobile Phone Under 15000 Rs</h4>
</div>
<div id="mobileUnder15000-product" class="row m-1"></div>
</div>
<!-- newsection for grid items -->
<section id="img-box">
<a href="">
<div class="img"><img src="img/grid-1.webp" alt="" /></div>
</a>
<a href="">
<div class="img"><img src="img/grid-2.jpg" alt="" /></div>
</a>
<a href="">
<div class="img"><img src="img/grid-3.jpg" alt="" /></div>
</a>
<a href="">
<div class="img"><img src="img/grid-1.webp" alt="" /></div>
</a>
</section>
<!-- fetch best deal products -->
<div class="containter-fluid bg-white">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<h4>Best Deal for You</h4>
</div>
<div id="best-deal-product" class="row m-1"></div>
</div>
<!-- fetch data under 500-->
<div class="containter-fluid bg-white">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<h4>Shop Now Under 500 Rs</h4>
</div>
<div id="shopUnder500-product" class="row m-1"></div>
</div>
<!-- fetch data-->
<div class="containter-fluid bg-white">
<div class="row">
<div class="col-md-3">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<h4>Best for You</h4>
</div>
<div id="s1-product" class="row m-1">
<a href="Fashion-/"><img src="img/fk-default-image-75ff340b.png" alt=""></a>
</div>
</div>
<div class="col-md-9">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<h4> </h4>
</div>
<div id="s2-product" class="row m-1"></div>
</div>
</div>
</div>
<!-- Top Selection -->
<div class="containter-fluid bg-white">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<h4>Top Selection</h4>
</div>
<div id="top-selection-product" class="row m-1"></div>
</div>
<section id="category-grid">
<img class="category" src="img/deal5.png" alt="deal1">
<img class="category" src="img/deal6.png" alt="deal1">
<img class="category" src="img/deal1.png" alt="deal1">
<img class="category" src="img/deal7.png" alt="deal1">
<img class="category" src="img/deal8.png" alt="deal1">
<img class="category" src="img/deal9.png" alt="deal1">
<img class="category" src="img/deal10.png" alt="deal1">
<img class="category" src="img/deal11.png" alt="deal1">
<img class="category" src="img/deal12.png" alt="deal1">
</section>
<!-- Product Selection -->
<div class="containter-fluid bg-white">
<div class="containter-fluid p-3 mt-1" style="border-bottom: 1px solid #e4e7eb;">
<h4>Select Your Choice</h4>
</div>
<div id="seletcYourChoice-product" class="row m-1"></div>
</div>
<!-- FAQ Section -->
<div class="container" id="faq">
<div class="container mt-5">
<h2 class="text-center mb-4 heading">Frequently Asked Questions</h2>
<div class="accordion" id="faqAccordion">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
1. How do I create an account?
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne"
data-bs-parent="#faqAccordion">
<div class="accordion-body">
To create an account on Flipkart, simply click on the "Sign Up" button located at the
top-right corner of the homepage. Follow the prompts to enter your details and create your
account.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
2. How can I place an order?
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo"
data-bs-parent="#faqAccordion">
<div class="accordion-body">
Placing an order on Flipkart is easy! Once you've found the product you want to buy, click
on it to view details and then click on the "Buy Now" or "Add to Cart" button. Follow the
steps to complete your order.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingThree">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
3. What payment options are available?
</button>
</h2>
<div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree"
data-bs-parent="#faqAccordion">
<div class="accordion-body">
Flipkart offers various payment options including credit/debit cards, net banking, UPI, EMI,
and Cash on Delivery (COD) for eligible orders.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="headingFour">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseFour" aria-expanded="false" aria-controls="collapseFour">
4. How can I track my order?
</button>
</h2>
<div id="collapseFour" class="accordion-collapse collapse" aria-labelledby="headingFour"
data-bs-parent="#faqAccordion">
<div class="accordion-body">
You can track your order by clicking on the "Track Order" link in the "My Orders" section of
your Flipkart account. You will receive regular updates on your order status via email and
SMS.
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="heading5">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse"
data-bs-target="#collapse5" aria-expanded="false" aria-controls="collapse5">
5. What is Flipkart's return policy?
</button>
</h2>
<div id="collapse5" class="accordion-collapse collapse" aria-labelledby="heading5"
data-bs-parent="#faqAccordion">
<div class="accordion-body">
Flipkart has a hassle-free return policy. If you're not satisfied with your purchase, you
can initiate a return within the specified return period. Simply go to the "My Orders"
section, select the order you want to return, and follow the prompts.
</div>
</div>
</div>
</div>
</div>
</div>
<!-- faq end -->
<!-- go to top button -->
<button id="goToTopBtn" class="hidden"><i class="fas fa-chevron-up"></i></button>
<!-- footer fetch to components : components/footer/footer.html -->
<footer id="footer" style="background-color: #292d33;"></footer>
<!-- voiceflow.chat script -->
<script type="text/javascript">
(function (d, t) {
var v = d.createElement(t), s = d.getElementsByTagName(t)[0];
v.onload = function () {
window.voiceflow.chat.load({
verify: { projectID: '6647471456cab012ae016d07' },
url: 'https://general-runtime.voiceflow.com',
versionID: 'production'
});
}
v.src = "https://cdn.voiceflow.com/widget/bundle.mjs"; v.type = "text/javascript"; s.parentNode.insertBefore(v, s);
})(document, 'script');
</script>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/homeHeader.js"></script>
<script src="js/categoryjs.js"></script>
<script src="js/searchForProducts.js"></script>
<script src="js/index.js"></script>
</body>
</html>