-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcat.html
111 lines (93 loc) · 5.37 KB
/
cat.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BookLY</title>
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="styles/cat.css">
<link rel="stylesheet" href="styles/style.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<header>
<div class="logo">
<div class="logo-first"><i class="fa-solid fa-book"></i></div>
<div class="logo-second">BookLY</div>
</div>
<i class='bx bx-menu' id="menu" onclick="onClickMenu()"></i>
<nav>
<a href="index.html#Home">Home</a>
<a href="index.html#Arrival">Arrival</a>
<a href="index.html#Bestseller">Bestseller</a>
<a href="cat.html" class="active">Filter Books</a>
<a href="search.html"><i class='bx bx-search'></i></a>
<a href="favourites.html"><i class='bx bxs-heart'></i></a>
</nav>
</header>
<main>
<section class="book-series">
<div class="med3">
<h1 style="color: #001625;">Filter by</h1>
<h1 style="color: #14A1E8;">Book-Series</h1>
</div>
<div class="content-4">
<div class="med4" onclick="fetchData('series=Harry%20Potter&book',this)">Harry Potter</div>
<div class="med4" onclick="fetchData('series=Diary%20of%20Wimpy%20Kid&book', this)">Diary of Wimpy Kid</div>
<div class="med4" onclick="fetchData('series=Wings%20of%20fire&book', this)">Wings of Fire</div>
<div class="med4" onclick="fetchData('series=Goosebumps&book', this)">Goosebumps</div>
<div class="med4" onclick="fetchData('series=The%20Railway%20Series&book', this)">The Railway Series</div>
<div class="med4" onclick="fetchData('series=The%20Dark%20Tower&book', this)">The Dark Tower</div>
<div class="med4" onclick="fetchData('series=The%20Heroes%20of%20Olympus&book', this)">The Heroes of Olympus</div>
<div class="med4" onclick="fetchData('series=Percy%20Jackson%20&%20the%20Olympians&book', this)">Percy Jackson & the Olympians</div>
<div class="med4" onclick="fetchData('series=Little%20Critter&book', this)">Little Critter</div>
</div>
<div class="work"></div>
</section>
<section class="book-type">
<div class="med3">
<h1 style="color: #001625;">Filter by</h1>
<h1 style="color: #14A1E8;">Book-Type</h1>
</div>
<div class="content-5">
<div class="med4" onclick="fetchData('book_type=Fiction',this)">Fiction</div>
<div class="med4" onclick="fetchData('book_type=NonFiction', this)">Non Fiction</div>
</div>
<div class="work"></div>
</section>
<section class="book-writers">
<div class="med3">
<h1 style="color: #001625;">Filter by</h1>
<h1 style="color: #14A1E8;">Book-Writers</h1>
</div>
<div class="content-5">
<div class="med4" onclick="fetchData('author=Stephen%20King',this)">Stephen King</div>
<div class="med4" onclick="fetchData('author=William%20Shakespeare', this)">William Shakespeare</div>
<div class="med4" onclick="fetchData('author=George%20Orwell', this)">George Orwell</div>
</div>
<div class="work"></div>
</section>
<section class="book-category">
<div class="med3">
<h1 style="color: #001625;">Filter by</h1>
<h1 style="color: #14A1E8;">Book-Category</h1>
</div>
<div class="content-4">
<div class="med4" onclick="fetchData('categories=Animals%2C%20Bugs%20%26%20Pets',this)">Animals, Bugs & Pets</div>
<div class="med4" onclick="fetchData('categories=Art%2C%20Creativity%20%26%20Music',this)">Art, Creativity & Music</div>
<div class="med4" onclick="fetchData('categories=General%20Literature',this)">General Literature</div>
<div class="med4" onclick="fetchData('categories=Real%20Life', this)">Real Life</div>
<div class="med4" onclick="fetchData('categories=Hobbies%2C%20Sports%20%26%20Outdoors',this)">Hobbies, Sports & Outdoors</div>
<div class="med4" onclick="fetchData('categories=Science%20Fiction%20%26%20Fantasy',this)">Science Fiction & Fantasy</div>
<div class="med4" onclick="fetchData('categories=Mystery%20%26%20Suspense', this)">Mystery & Suspense</div>
</div>
<div class="work"></div>
</section>
</main>
<footer>
<p>Made with ❤️ by BookLY</p>
</footer>
<script src="script/cat.js"></script>
</body>
</html>