-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (63 loc) · 2.07 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
<!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>book archive</title>
<!-- css link -->
<link rel="stylesheet" href="css/style.css" />
<!-- Bootstrap css link -->
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We"
crossorigin="anonymous"
/>
</head>
<body>
<!-- book search area -->
<header class="w-50 mx-auto mt-5">
<h1 class="text-center text-success">Search Your Favorite Books</h1>
<div class="input-group mt-3 my-0">
<input
id="search-input"
type="text"
class="form-control"
placeholder="search the book you want to read"
aria-label="Recipient's username"
aria-describedby="button-addon2"
/>
<button
class="btn btn-outline-success"
type="button"
onclick="searchBook()"
id="search"
>
Search
</button>
</div>
<h6 id="empty-search-error" class="mb-5 d-none text-warning">
Please search something valid
</h6>
<h6 id="found-result-filed" class="mb-5 d-none text-primary">
Total Found <span id="result-count">0</span>
</h6>
<div id="loader" class="loader text-center mt-5 d-none">
<div class="spinner-border" role="status">
<span class="sr-only"></span>
</div>
</div>
</header>
<main>
<!-- book details search result -->
<div id="search-data" class="row row-cols-1 row-cols-md-3 g-4"></div>
</main>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj"
crossorigin="anonymous"
></script>
<script src="js/script.js"></script>
</body>
</html>