-
Notifications
You must be signed in to change notification settings - Fork 0
/
trending.html
433 lines (390 loc) · 19.8 KB
/
trending.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
<!DOCTYPE html>
<!--https://www.color-hex.com/color-palette/99052-->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" type="image/x-icon" href="image/logo.png">
<title>Bookworm</title>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
<!-- BS CSS ICON 5.2.X -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx"
crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<!-- BS CSS ICON 5.2.X -->
<!-- Import css -->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/modal.css">
<!-- Import css -->
<!--Font Awesome-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/89e9a98e7e.js" crossorigin="anonymous"></script>
<!--Font Awesome-->
<!--Animation Scroll-->
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<!--Animation Scroll-->
</head>
<body>
<div class="container mt-5 px-5 mx-auto text-center fixed-top">
<div class="alert alert-danger alert-dismissible fade show" role="alert">
เว็บไซต์นี้สร้างขึ้นเพื่อการเรียนรู้และฝึกการพัฒนาเว็บแอพพลิเคชั่นเป็นส่วนหนึ่งของรายวิชาคอมพิวเตอร์ เพื่อการเรียนรู้เท่านั้น
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
</div>
<!--Navbar-->
<div class="container">
<nav class="navbar navbar-expand-md">
<!-- Brand -->
<img src="image/logo.png" alt="logo" width="60" data-aos="fade-down" data-aos-delay="0">
<!-- Navbar links -->
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav">
<li class="nav-item" data-aos="fade-down" data-aos-delay="50">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item" data-aos="fade-down" data-aos-delay="100">
<a class="nav-link" href="bestselllers.html">Best Sellers</a>
</li>
<li class="nav-item" data-aos="fade-down" data-aos-delay="150">
<a class="nav-link" href="newreleases.html">New Books</a>
</li>
<li class="nav-item" data-aos="fade-down" data-aos-delay="200">
<a class="nav-link" href="backtoschool.html">School</a>
</li>
<li class="nav-item" data-aos="fade-down" data-aos-delay="250">
<a class="nav-link" href="recommend.html">Recommend</a>
</li>
</ul>
<div class="navbariocn">
<button type="button" class="btn positiob-relative" data-aos="fade-down" data-aos-delay="300">
<i class="fa fa-shopping-cart"></i><span class="position-absolute top-0 start-100 translate-middle"></span>
</button>
<button type="button" class="btn positiob-relative" data-aos="fade-down" data-aos-delay="350">
<i class="fa fa-heart"></i><span class="position-absolute top-0 start-100 translate-middle"></span>
</button>
<button type="button" class="btn positiob-relative" data-aos="fade-down" data-aos-delay="400">
<i class="fa fa-search"></i><span class="position-absolute top-0 start-100 translate-middle"></span>
</button>
</div>
</div>
</nav>
</div>
<!--Quote Banner-->
<section class="banner">
<div class="container" data-aos="fade-up" data-aos-delay="450">
<img class="w-100" src="image/banner/trendingbookbanner.png" alt="...">
</div>
</section>
<!--Trending-->
<div class="fixed-top container alert alert-dismissible mt-5" id="liveAlertPlaceholder"></div>
<section class="trending">
<div class="container py-5">
<div class="row">
<div class="col-lg-3 text-center" data-aos="fade-up" data-aos-delay="500">
<div class="card border-0 mb-2">
<div class="card-body">
<img src="image/trend/trendingbook1.png" class="img-fluid" alt="..." data-bs-toggle="modal" data-bs-target="#trending1">
</div>
</div>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<h6 data-bs-toggle="modal" data-bs-target="#trending1">What We Owe the Future</h6>
<p>$32.00</p>
<button class="btn2" id="liveAlertBtn"><i class="fas fa-shopping-cart"></i> Add to cart</button>
</div>
<div class="col-lg-3 text-center" data-aos="fade-up" data-aos-delay="550">
<div class="card border-0 mb-2">
<div class="card-body">
<img src="image/trend/trendingbook2.png" class="img-fluid" alt="...">
</div>
</div>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<h6>I'm Glad My Mom Died</h6>
<p>$26.03</p>
<button class="btn2"><i class="fas fa-shopping-cart"></i> Add to cart</button>
</div>
<div class="col-lg-3 text-center" data-aos="fade-up" data-aos-delay="600">
<div class="card border-0 mb-2">
<div class="card-body">
<img src="image/trend/trendingbook3.png" class="img-fluid" alt="...">
</div>
</div>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<h6>The Satanic Verses</h6>
<p>$17.67</p>
<button class="btn2"><i class="fas fa-shopping-cart"></i> Add to cart</button>
</div>
<div class="col-lg-3 text-center" data-aos="fade-up" data-aos-delay="650">
<div class="card border-0 mb-2">
<div class="card-body">
<img src="image/trend/trendingbook4.png" class="img-fluid" alt="...">
</div>
</div>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<h6>No More Police: A Case for Abolition</h6>
<p>$17.66</p>
<button class="btn2"><i class="fas fa-shopping-cart"></i> Add to cart</button>
</div>
<div class="col-lg-3 text-center" data-aos="fade-up" data-aos-delay="0">
<div class="card border-0 mb-2">
<div class="card-body">
<img src="image/trend/trendingbook5.png" class="img-fluid" alt="...">
</div>
</div>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<h6>Stay Curious and Keep Exploring: 50 Amazing, Bubbly, and Creative Science Experiments to Do with the Whole Family</h6>
<p>$21.34</p>
<button class="btn2"><i class="fas fa-shopping-cart"></i> Add to cart</button>
</div>
<div class="col-lg-3 text-center" data-aos="fade-up" data-aos-delay="50">
<div class="card border-0 mb-2">
<div class="card-body">
<img src="image/trend/trendingbook6.png" class="img-fluid" alt="...">
</div>
</div>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<h6>Tomorrow, and Tomorrow, and Tomorrow</h6>
<p>$26.04</p>
<button class="btn2"><i class="fas fa-shopping-cart"></i> Add to cart</button>
</div>
<div class="col-lg-3 text-center" data-aos="fade-up" data-aos-delay="100">
<div class="card border-0 mb-2">
<div class="card-body">
<img src="image/trend/trendingbook7.png" class="img-fluid" alt="...">
</div>
</div>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<h6>Feeding Littles and Beyond: 100 Baby-Led-Weaning-Friendly Recipes the Whole Family Will Love</h6>
<p>$26.04</p>
<button class="btn2"><i class="fas fa-shopping-cart"></i> Add to cart</button>
</div>
<div class="col-lg-3 text-center" data-aos="fade-up" data-aos-delay="150">
<div class="card border-0 mb-2">
<div class="card-body">
<img src="image/trend/trendingbook8.png" class="img-fluid" alt="...">
</div>
</div>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<span class="text-primary1"><i class="fas fa-star"></i></span>
<h6>All about Love: New Visions</h6>
<p>$15.80</p>
<button class="btn2"><i class="fas fa-shopping-cart"></i> Add to cart</button>
</div>
</div>
</div>
</section>
<!--Footer-->
<footer class="border-top py-5">
<div class="container">
<div class="row">
<div class="col-lg-4">
<img src="image/logo.png" height="60" alt="...">
</div>
<div class="col-lg-4">
<h4><i class="bi bi-geo-alt-fill"></i></i> Location</h4>
<iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d973.3838861406597!2d102.1106076!3d12.6128326!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x310481846e48d509%3A0xa00e312f6a259ef4!2z4LmC4Lij4LiH4LmA4Lij4Li14Lii4LiZ4LmA4Lia4LiN4LiI4Lih4Lij4Liy4LiK4Li54LiX4Li04LioIOC4iOC4seC4h-C4q-C4p-C4seC4lOC4iOC4seC4meC4l-C4muC4uOC4o-C4tQ!5e0!3m2!1sth!2sth!4v1663033538057!5m2!1sth!2sth" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
<div class="col-lg-4">
<h4><i class="fas fa-phone"></i> Contact Info</h4>
<div class="row">039-311-170 </div>
<div class="row"> เลขที่ 10 ถนนศรียานุสรณ์ ตำบลวัดใหม่ อำเภอเมือง จังหวัดจันทบุรี รหัสไปรษณีย์ 22000</div>
<div class="row">[email protected]</div>
<div class="row">[email protected]</div>
</div>
</div>
<hr>
<div class="copyright-text text-center">
<p>Disclaimer : We don't really sell these books. This website is for educational purposes.</p>
</div>
<div class="copyright-text text-center">
<p>Copyright © 2022</p>
</div>
</div>
</footer>
<!-- Modal trend1-->
<div class="modal fade" id="trending1" tabindex="-1" aria-labelledby="trending1Label" aria-hidden="true">
<div class="modal-dialog modal-xl modal-dialog-centered modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="trending1Label">
<nav style="--bs-breadcrumb-divider: '>';" aria-label="breadcrumb">
<ol class="breadcrumb px-3 pt-3">
<li class="breadcrumb-item">Book</li>
<li class="breadcrumb-item">English</li>
<li class="breadcrumb-item active" aria-current="page">Philosophy</li>
</ol>
</nav>
</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-xl-4 col-md-5 col-sm-1 text-center">
<img src="image/trend/trendingbook1.png" class="img-thumbnail" alt="...">
</div>
<div class="col-xl-8 col-md-7 col-sm-1">
<div class="container pt-2">
<div class="row">
<div class="col-12 py-2">
<b class="h1">What We Owe the Future</b><div class="fw-light ">William MacAskill (Author)</div>
</div>
</div>
<div class="row w-100">
<div class="col-12">
<p class="h4 pt-4">Description</p>
<div class="overflow-auto mx-1" id="overflowDisc">The fate of the world is in our hands. Humanity’s written history spans only five thousand years. Our yet-unwritten future could last for millions more — or it could end tomorrow. Astonishing numbers of people could lead lives of great happiness or unimaginable suffering, or never live at all, depending on what we choose to do today.
In What We Owe The Future, philosopher William MacAskill argues for longtermism, that idea that positively influencing the distant future is a key moral priority of our time. From this perspective, it’s not enough to reverse climate change or avert the next pandemic. We must ensure that civilization would rebound if it collapsed; counter the end of moral progress; and prepare for a planet where the smartest beings are digital, not human.
If we make wise choices today, our grandchildren’s grandchildren will thrive, knowing we did everything we could to give them a world full of justice, hope and beauty.</div>
</div>
</div>
<div class="row my-3 pt-3">
<div class="col-xl-3 col-md-6 col-sm-6">
<h5 class="mt-3">Price</h5>
<div class="text-center h3">$32.00</div>
</div>
<div class="col-xl-4 col-md-6 col-sm-6">
<h5 class="mt-3">Quantity</h5>
<div class="mx-auto mb-2 pe-2" id="containterborder">
<span class="next" onclick="nextNum()"></span>
<span class="prev" onclick="prevNum()"></span>
<div id="box"></div>
</div>
</div>
</div>
<div class="row">
<p>
<div class="col-lg-6 text-center m-auto mb-3">
<button class="container" id="container1" type="button" data-bs-toggle="collapse" data-bs-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
More Book Details
</button>
</div>
</p>
<div class="collapse p-4" id="collapseExample">
<div class="card card-body">
<table class="plain centered">
<tbody class="word-break">
<tr>
<th>ISBN-13:</th>
<td>9781541618626</td>
</tr>
<tr>
<th>Publisher:</th>
<td>Basic Books</td>
</tr>
<tr> <th>Publication date:</th>
<td>08/16/2022</td>
</tr>
<tr> <th>Pages:</th>
<td>352</td>
</tr>
<tr><th>Product dimensions:</th>
<td>5.90(w) x 9.30(h) x 1.30(d)</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-success" id="liveAlertBtn"><i class="fas fa-shopping-cart"></i> Add to cart</button>
<div class="position-absolute top-0 start-50 translate-middle-x" id="liveAlertPlaceholder"></div>
</div>
</div>
</div>
</div>
</div>
<!-- Modal trend1-->
<!-- BS JS 5.2.X -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
crossorigin="anonymous"></script>
<!-- BS JS 5.2.X -->
<!-- Number spinner By Online Tutorials -->
<script type="text/javascript">
var numbers = document.getElementById('box');
for(i=0;i<11;i++){
var span = document.createElement('span');
span.textContent = i;
numbers.appendChild(span);
}
var num = numbers.getElementsByTagName('span');
var index = 0;
function nextNum(){
num[index].style.display = 'none';
index = (index + 1) % num.length;
num[index].style.display = 'initial';
}
function prevNum(){
num[index].style.display = 'none';
index = (index - 1 + num.length) % num.length;
num[index].style.display = 'initial';
}
</script>
<!-- Number spinner By Online Tutorials -->
<!-- Alertbox shopping-->
<script>
const alertPlaceholder = document.getElementById('liveAlertPlaceholder')
const alert = (message, type) => {
const wrapper = document.createElement('div')
wrapper.innerHTML = [
`<div class="alert alert-${type} alert-dismissible fade show" role="alert">`,
` <div>${message}</div>`,
' <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>',
'</div>'
].join('')
alertPlaceholder.append(wrapper)
}
const alertTrigger = document.getElementById('liveAlertBtn')
if (alertTrigger) {
alertTrigger.addEventListener('click', () => {
alert('Your book has been added to the cart !', 'success')
})
}
</script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
</body>
</html>