forked from anandsinghyadav/Ebay-Website-Clone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
collectiblesAndArt.html
470 lines (376 loc) · 16.9 KB
/
collectiblesAndArt.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
<!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>Collectibles and Art</title>
<link rel="stylesheet" href="collectiblesAndArt.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css"
integrity="sha384-DyZ88mC6Up2uqS4h/KRgHuoeGwBcD4Ng9SiP4dIRy0EXTlnuz47vAwmeGwVChigm" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/1cb0bb75dc.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- top navber and bottom navbar -->
<div id="sc1">
<div id="sc11">
<h4 id="sc111">Hi! <a href="signin.html">Sign in</a> or <a href="register.html">register</a></h4>
<h4> <a href="" style="color:black; text-decoration: none; ">Daily Deals</a></h4>
<h4><a href="" style="color:black; text-decoration: none;">Help & Contact</a></h4>
</div>
<div id="sc12">
<h4>Sell </h4>
<h4>Watchlist <i class="fa-solid fa-angle-down"></i></h4>
<div id="helloMouse">
<h4 onclick="window.location.href='signin.html'">My eBay<i class="fa-solid fa-angle-down"></i></h4>
<div id="absolute_My_eBay">
<a href="">
<p>Summary</p>
</a>
<a href="">
<p>Recently Viewed</p>
</a>
<a href="">
<p> Bids/Offers</p>
</a>
<a href="watchlist.html">
<p>Watchlist</p>
</a>
<a href="">
<p>Purchase History</p>
</a>
<a href="">
<p>Buy Again</p>
</a>
<a href="">
<p>Selling</p>
</a>
<a href="saved.html">
<p>Saved Searches</p>
</a>
<a href="">
<p>Saved Sellers</p>
</a>
<a href="">
<p>Messages</p>
</a>
</div>
</div>
<div style="padding:3.5%;" id="sc121">
<i class="fa-solid fa-bell"></i>
<div id="sc122">
<h1>You are all caught up!</h1>
</div>
</div>
<div style="margin:5%;" id="sc13">
<i class="fa-solid fa-cart-shopping"></i>
<div id="sc131">
<h1>Your cart is empty</h1>
<h3>Time to start shopping!</h3>
</div>
<P id="cartData">3</P>
</div>
</div>
</div>
<hr style="margin-top:-1%; color: #f1ebeb;">
<!--
1st nav bar ends here
-->
<div id="sc2">
<div id="sc21" onclick="window.location.href='index.html'">
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/EBay_logo.svg/1200px-EBay_logo.svg.png"
alt="">
</div>
<div id="sc22">
<p>
Shop by category
</p>
<i class="fa-solid fa-angle-down"></i>
</div>
<div id="sc23">
<i class="fa-solid fa-magnifying-glass" style="margin-left: 5px;"></i>
<input type="text" name="" id="">
<div>
<button name="" id="">
All category
</button>
<i class="fa-solid fa-angle-down"></i>
</div>
</div>
<button>
Search
</button>
</div>
<div id="sc3">
<hr>
</div>
<!-- banner part -->
<div id="cabDiv">
<img id="caBanner" src="https://i.ebayimg.com/images/g/3tcAAOSwZxNfPOU~/s-l1600.webp"
alt="Collectibles and Arts">
</div>
<!-- main container for shop by category and side filter -->
<div id="caContainer">
<!-- left filter creation -->
<div id="caFilter">
<p>Categories</p>
<div><a href="">Stamps</a></div>
<div><a href="">Collectible Comics</a></div>
<div><a href="">Coins & Paper Money</a></div>
<div><a href="">Vintage Record Players</a></div>
<div><a href="">Antiques</a></div>
<div><a href="">Vintage Clothing Shoes & Accessories</a></div>
<div><a href="">Collectible Postcards</a></div>
<div><a href="">Action Figures</a></div>
<div><a href="">Entertainment Memorabilia</a></div>
<div id="shopByCat">
<p id="sbCatP">Shop by Category</p>
<div id="sbCat" onclick="openSomething('anti')">
<p>Antiques</p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="anti">
<li>See all in Antiques</li>
<li>Antique Furniture</li>
<li>Antique Manuscripts</li>
<li>Antique Maps, Atlases & Globes</li>
<li>Antique Musical Instruments</li>
<li>Antique Primitives</li>
<li>Antique Rugs & Carpets</li>
<li>Antique Tapestries </li>
<li>Antiques Restoration</li>
<li>Architectural & Garden Antiques</li>
<li>Asian Antiques</li>
</ul>
<div id="sbCat" onclick="openSomething('art')">
<p> <a href="art.html">Art</a></p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="art">
<li>See all in art</li>
<li>Art Drawing</li>
<li>Art NFTs</li>
<li>Art Paintings</li>
<li>Art Photographs</li>
<li>Art Posters</li>
<li>Art Prints</li>
<li>Art Sculputers</li>
<li>Textile Art & Fiber Art</li>
</ul>
<div id="sbCat" onclick="openSomething('artAndCraft')">
<p>Art & Craft Supplies</p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="artAndCraft">
<li>See all in Art & Craft Supplies</li>
<li>Art Supplies</li>
<li>Beads & Jewelry Making Supplies</li>
<li>Craft Glass & Mosaics</li>
<li>Craft Stamping & Embossing Supplies</li>
<li>Crafts Wholesale Lots</li>
<li>Fabric</li>
<li>Fabric Painting & Decorating Supplies</li>
<li>Handcrafted & Finished Pieces</li>
<li>Home Arts & Crafts</li>
<li>Kids' Crafts</li>
<li>Leathercraft Tools & Supplies</li>
<li>Other Craft Supplies</li>
</ul>
<div id="sbCat" onclick="openSomething('coins')">
<p>Coins & Paper Money</p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="coins">
<li>See all in Coins & Paper Money</li>
<li>Ancient Coins</li>
<li>Bullion</li>
<li>Canadian Coins</li>
<li>Exonumia</li>
<li>Medieval Coins</li>
<li>Other Coins & Paper Money</li>
</ul>
<div id="sbCat" onclick="openSomething('collectibles')">
<p>Collectibles</p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="collectibles">
<li>See all in Collectibles</li>
<li>Animal Collectible</li>
<li>Antique Linens & Textiles</li>
<li>Arcade, Jukebox & Pinball</li>
<li>Autographs</li>
<li>Bank,Register & Vending Collectible</li>
<li>Bobbles, Pinbacks & Lunchboxes</li>
<li>Casino Collectibles</li>
</ul>
<div id="sbCat" onclick="openSomething('dollsAndTeddy')">
<p>Dolls & Teddy Bears</p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="dollsAndTeddy">
<li>See all in Dolls & Teddy Bears</li>
<li>Dollhouse & dollhouse Miniatures</li>
<li>Dolls, Clothing & Accessories</li>
</ul>
<div id="sbCat" onclick="openSomething('entertainment')">
<p>Entertainment Memorabilia</p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="entertainment">
<li>See all in Entertainment</li>
<li>Movie Collectibles</li>
<li>Music Memorabilia</li>
<li>Tv Memorabilia</li>
<li>Reprinted Autographed</li>
<li>Theater Memorabilia</li>
</ul>
<div id="sbCat" onclick="openSomething('pottery')">
<p>Pottery & Glass</p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="pottery">
<li>See all in Pottery & Glasses</li>
<li>Decorative Cookware, Dinneware</li>
<li>Decorative Pottery & Glasess</li>
<li>Pottery & Glasses Lamps, Lighting</li>
</ul>
<div id="sbCat" onclick="openSomething('stamps')">
<p> Stamps</p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="stamps">
<li>See all in stamps</li>
<li>African Stamps</li>
<li>Asian Stamps</li>
<li>Australian & Oceanian Stamps</li>
<li>British Stamps</li>
<li>Canadian Stamps</li>
<li>Carabbean stamps</li>
<li>European Stamps</li>
<li>Latin American Stamps</li>
<li>Other Postel Stamps</li>
</ul>
<div id="sbCat" onclick="openSomething('vintage')">
<p> Vintage & Antique Jewelry </p>
<i class="fas fa-angle-down"></i>
</div>
<ul id="vintage">
<li>See all in Vintage & Antique Jewelry</li>
<li>Other Vintage & Antique Jewelry</li>
<li>Vintage & Antique Anklets</li>
<li>Vintage & Antique Bolo Ties</li>
<li>Vintage & Antique Brooches & Pins</li>
<li>Other Vintage</li>
</ul>
</div>
</div>
<!-- right part for showing data creation -->
<div id="caItem">
<h2>Shop by Category</h2>
<div id="one">
<div onclick="goFun('1')">
<img src="https://i.ebayimg.com/thumbs/images/g/SPoAAOSwWg5fPOYO/s-l640.webp" alt="">
</div>
<div onclick="goFun('2')">
<img src="https://i.ebayimg.com/thumbs/images/g/gXUAAOSwOQ9fPirb/s-l640.webp" alt="">
</div>
</div>
<div id="two">
<div onclick="goFun('3')">
<img src="https://i.ebayimg.com/thumbs/images/g/wukAAOSwmoNfPObX/s-l640.webp" alt="">
</div>
<div onclick="goFun('4')">
<img src="https://i.ebayimg.com/thumbs/images/g/vI4AAOSwGUJfPir9/s-l640.webp" alt="">
</div>
<div onclick="goFun('5')">
<img src="https://i.ebayimg.com/thumbs/images/g/WpAAAOSwfdVfPObh/s-l640.webp" alt="">
</div>
</div>
<div id="three">
<div onclick="goFun('6')">
<img src="https://i.ebayimg.com/thumbs/images/g/m9EAAOSwtQBfPixc/s-l1200.webp" alt="">
</div>
</div>
<div id="four">
<div onclick="goFun('7')">
<img src="https://i.ebayimg.com/thumbs/images/g/0HoAAOSwE8RhctGm/s-l640.webp" alt="">
</div>
<div onclick="goFun('8')">
<img src="https://i.ebayimg.com/thumbs/images/g/TSoAAOSwjFVfPOeY/s-l640.webp" alt="">
</div>
<div onclick="goFun('9')">
<img src="https://i.ebayimg.com/thumbs/images/g/hpUAAOSw9bRfPOeU/s-l640.webp" alt="">
</div>
</div>
<!-- Text Area Creation -->
<div id="main">
<h2 id="textOne">Collectibles & Art</h2>
<div>
<h4>Perfect the Art of Collecting</h4>
<p>Whether you collect <a href="">antiques</a>, rare coins, art, <a href="">sports memorabilia</a>
or toys, eBay offers an extensive and ever-evolving selection. Snag that rare pinball machine or
Montblanc fountain pen without leaving the comfort of your couch.</p>
</div>
<div>
<h4>Browse eBay's Online Art Collection</h4>
<p>If you consider yourself an art collector, eBay has a wide variety of collectible art, <a
href="">paintings</a> , originals and reprints to peruse. On a budget? Browse more
affordable art collections including <a href="">art posters</a> from film, television and
popular culture. With so many art collections online, it's easy to find the perfect piece for
your own art collection, no matter what style of collector art you prefer.</p>
</div>
<div>
<h4>Shop for Rare Stamps and Coins</h4>
<p>Collectible <a href="">stamps</a> and <a href="">coin collecting</a> are two of the most seasoned
pastimes of collectors. Whether you're adding to your coin collection, getting all 50 <a
href="">U.S. quarters</a> , or just starting your stamp book, eBay has you covered. With
listings of some of the most coveted items in the world, you're sure to find the next big
addition to your set.</p>
</div>
<div>
<h4>Embrace the Fun with Sports Memorabilia and Toys</h4>
<p>Who says collecting has to be serious? <a href="">Autographed baseball cards</a> and baseball
memorabilia are sure to inspire nostalgia. But the selection doesn't end there: football,
hockey, basketball, soccer and other popular sports are represented, too.</p>
</div>
<div>
<h4>The Perfect Items for Any Collection</h4>
<p>Looking for something a little out-of-the-box? Can't find what you want in antique stores or
hobby shops? Browse eBay for action figures, shot glasses, sterling silver spoons, <a
href="">glass pottery</a> or any other niche collector's item you can imagine.</p>
</div>
</div>
</div>
</div>
</body>
<script src="collectiblesAndArt.js"></script>
</html>
<script>
let cat = JSON.parse(localStorage.getItem('yourCart')) || 0;
let xA = document.getElementById('cartData');
xA.innerHTML = cat.length;
xA.addEventListener('click', () => {
window.location.href = 'cart.html';
});
let flagfornav = JSON.parse(localStorage.getItem("flagforindex"))
let logindata = JSON.parse(localStorage.getItem("loginData"))
let namefornav = logindata[0].name
console.log(flagfornav)
if (flagfornav == true) {
console.log(namefornav)
document.querySelector("#sc111").textContent = namefornav
}
</script>
<script>
let shubham001 = document.querySelector("#sc23 > input[type=text]")
shubham001.addEventListener("keypress", function (event) {
if (event.code == "Enter") {
localStorage.setItem("search_term", shubham001.value);
window.location.href = "MahiArt.html";
}
})
document.querySelector("#sc2 > button").addEventListener("click", function (event) {
localStorage.setItem("search_term", shubham001.value)
window.location.href = "MahiArt.html"
})
</script>