-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch.html
29 lines (25 loc) · 924 Bytes
/
search.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
<html lang="en">
<head style="background-color: brown;">
<title>Search Results | T_Emblemy Collectible Books</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/temblemy/assignment.css">
<link rel="icon" href="/temblemy/images/logo.png" type="image/png">
</head>
<body>
<script src="/temblemy/loaders.js"></script>
<div id="header-container"></div>
<script>LoadHeader();</script>
<main style="display: flex; flex-direction: column;">
<section class="book-list" id="book-list">
<script>
const urlParams = new URLSearchParams(window.location.search);
const name = urlParams.get('s');
displayBookByName(name);
document.title = `${name} | T_Emblemy Collectible Books`;
</script>
</section>
</main>
<div id="footer-container"></div>
<script>LoadFooter();</script>
</body>
</html>