-
Notifications
You must be signed in to change notification settings - Fork 0
/
books.html
91 lines (86 loc) · 3.03 KB
/
books.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
<!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>Library</title>
<link rel="stylesheet" href="styles.css">
<script src="https://kit.fontawesome.com/c8e4d183c2.js" crossorigin="anonymous"></script>
<script src="index.js" defer></script>
<script src="books.js" defer></script>
</head>
<body id="books__body">
<section>
<nav>
<div class="nav__container">
<img class="logo" src="./assets/Library.svg" alt="">
<ul class="nav__links">
<li><a href="index.html" class="nav__link">Home</a></li>
<li><a href="#" class="nav__link">Contact</a></li>
<li><a href="#" class="nav__link nav__link--primary">Books</a></li>
</ul>
<button class="btn__menu" onclick="openMenu()">
<i class="fas fa-bars"></i>
</button>
<div class="menu__backdrop" style="visibility: hidden;">
<button class="btn__menu btn__menu--close" onclick="closeMenu()">
<i class="fas fa-times"></i>
</button>
<ul class="menu__links">
<li class="menu__list">
<a href="#" class="menu__link" onclick="closeMenu()">Home</a>
</li>
<li class="menu__list">
<a href="#features" class="menu__link" onclick="closeMenu()">Books</a>
</li>
<li class="menu__list">
<a class="menu__link no-cursor" onclick="closeMenu()">Contacts</a>
</li>
</ul>
</div>
</div>
</nav>
</section>
<main id="books__main">
<section>
<div class="container">
<div class="row">
<div class="books__header">
<h2 class="section__title books__header--title">
All <span class="purple">Books</span>
</h2>
<select id="filter" onchange="filterBooks(event)">
<option value="" disabled selected>Sort</option>
<option value="LOW_TO_HIGH">Price, Low to High</option>
<option value="HIGH_TO_LOW">Price, High to Low</option>
<option value="RATING">Rating</option>
</select>
</div>
<div class="books">
<i class="fas fa-spinner books__loading--spinner"></i>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="row row__column">
<a href="#">
<figure class="footer__logo">
<img src="./assets/Library.svg" class="footer__logo--img" alt="">
</figure>
</a>
<div class="footer__list">
<a href="#" class="footer__link">Home</a>
<a class="footer__link no-cursor">About</a>
<a href="#features" class="footer__link">Books</a>
<a class="footer__link no-cursor">Contact</a>
</div>
<div class="footer__copyright">Copyright © 2021 Library</div>
</div>
</div>
</footer>
</body>
</html>