-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
134 lines (126 loc) · 4.7 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Bookster: the book disovery app">
<link href="css/normalize.css" rel="stylesheet" />
<link href="css/style.css" rel="stylesheet" />
<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=Source+Serif+4:ital,opsz,wght@0,8..60,200;0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;0,8..60,800;0,8..60,900;1,8..60,200;1,8..60,300;1,8..60,400;1,8..60,500;1,8..60,600;1,8..60,700;1,8..60,800;1,8..60,900&display=swap"
rel="stylesheet"
/>
<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=Bungee+Shade&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Abril+Fatface&family=DM+Serif+Display:ital@0;1&family=Elsie+Swash+Caps:wght@400;900&display=swap"
rel="stylesheet"
/>
<title>Bookster</title>
</head>
<body>
<header class="center">
<a href="index.html">
<h1>Bookster</h1>
</a>
</header>
<section id="search-section-container">
<form id="book-search-form">
<label for="search-query" id="search-instruction"
>Search books by title, author, or theme:</label
>
<div id="search-bar">
<input
type="text"
id="search-query"
name="search-query"
placeholder="search"
required
/>
<div class="left-styling-block"></div>
<button aria-label="submit" type="submit" id="submit">
<img alt="" src="images/arrow-right-white.png" />
</button>
</div>
</form>
</section>
<main>
<section id="genre-section">
<div class="section-banner">
<div class="padding-for-banner-text">
<h2>Books by Genre</h2>
</div>
<div class="right-styling-block"></div>
</div>
<div id="bestsellers-list"></div>
<section id="genre_carousel_wrapper" class="genre_carousel_wrapper">
<button
class="carousel_button carousel_button--left"
id="prev"
data-dir="prev"
aria-label="Previous Slide"
>
<svg
class="svg-prev"
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
fill="#000000"
viewBox="0 0 256 256"
>
<path
d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216ZM149.66,93.66,115.31,128l34.35,34.34a8,8,0,0,1-11.32,11.32l-40-40a8,8,0,0,1,0-11.32l40-40a8,8,0,0,1,11.32,11.32Z"
></path>
</svg>
</button>
<div id="genre_carousel" class="genre_carousel">
<ul class="carousel_track" id="carousel_track"></ul>
</div>
<button
class="carousel_button carousel_button--right"
id="next"
data-dir="next"
aria-label="Next Slide"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="32"
height="32"
fill="#000000"
viewBox="0 0 256 256"
>
<path
d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm29.66-93.66a8,8,0,0,1,0,11.32l-40,40a8,8,0,0,1-11.32-11.32L140.69,128,106.34,93.66a8,8,0,0,1,11.32-11.32Z"
></path>
</svg>
</button>
</section>
</section>
<section id="top5-section">
<div class="section-banner">
<div class="padding-for-banner-text">
<h2 id="top3">Top 3 Bestsellers</h2>
</div>
<div class="right-styling-block"></div>
</div>
<div id="top5-content"></div>
</section>
</main>
<footer>
<div id="footer-first-line"></div>
<div id="footer-second-line">
<p id="footer-text">Built by Fran and Lucien</p>
</div>
</footer>
<script src="javascript/firstPage.js"></script>
<script src="javascript/ny-times.js"></script>
<script src="javascript/carousel.js"></script>
</body>
</html>