forked from Technigo/project-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (60 loc) · 2.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./style.css">
<title>XingS Book Library</title>
<!-- Sole by Xing Yin *********** NETLIFT *********** https://xingsbooklibrary.netlify.app -->
</head>
<body>
<header class="header">
<h1>Book Library</h1>
<nav class="nav">
<!-- Filter dropdown with radio buttons -->
<div class="sort-container" id="sortContainer"></div>
<!-- Dropdown for filtering by genre -->
<select id="dropdown">
<option value="all">All</option>
<option value="Adventure">Adventure</option>
<option value="Fiction">Fiction</option>
<option value="Science Fiction">Science Fiction</option>
<option value="Fantasy">Fantasy</option>
<option value="Horror">Horror</option>
<option value="Mystery">Mystery</option>
<option value="Dystopian">Dystopian</option>
</select>
<!-- Search input -->
<input type="text" id="searchInput" placeholder="Search by title...">
<!-- Reset Button to refresh the page -->
<button id="resetButton" class="reset-btn">Reset</button>
<!-- Hamburger menu for favorite books -->
<div class="hamburger-menu" onclick="toggleFavouriteMenu()">
<div class="bar1"></div>
<div class="bar2"></div>
</div>
<nav id="favourites" class="hidden">
<ul id="favouriteList">Choose your favorite books❤️</ul>
</nav>
</nav>
</header>
<!-- add book cards here from JS -->
<section id="container"></section>
<!-- Footer spans full width -->
<footer class="footer-container">
<div class="logo">
<a href="#" id="logo"><img src="assets/logo.png" alt="XingS Logo"></a>
</div>
<div class="footer-bottom">
<p>© 2024 XingS Book Library. All rights reserved.</p>
</div>
<div class="social-media">
<a href="#"><img src="assets/facebook-icon.png" alt="Facebook"></a>
<a href="#"><img src="assets/twitter-icon.png" alt="Twitter"></a>
<a href="#"><img src="assets/instagram-icon.png" alt="Instagram"></a>
<a href="#"><img src="assets/github-icon.png" alt="GitHub"></a>
</div>
</footer>
<script src="./script.js"></script>
</body>
</html>