-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (60 loc) · 2.37 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
<!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's World</title>
<!-- google Font -->
<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=Roboto:wght@400;500&display=swap" rel="stylesheet">
<!-- bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous">
<!-- CSS stylesheet -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header>
<!-- welcome msg -->
<h1 class="text-center mt-4">Welcome to Book World!!!</h1>
<div class="input-group mb-3 container">
<!-- INPUT -->
<input id="search-input" type="search" class="form-control" placeholder="Search your favorite Book" aria-label="Search your favorite Book" >
<!-- Search button -->
<button onclick="searchBook()" class="btn btn-dark" type="button" id="search-btn">Search</button>
</div>
</header>
<!-- spinner -->
<section>
<div class="d-flex justify-content-center">
<div id="spinner" class="spinner-border" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
</section>
<!-- total search result -->
<div id="total-num" class="text-center text-danger mt-4">
</div>
<!-- search result -->
<section class="container mt-4">
<div id="search-result" class="row row-cols-1 row-cols-md-3 g-4">
<!-- <div class="col">
<div class="card h-100">
<img src="..." class="card-img-top" alt="...">
<div class="card-body">
<h5>Title:</h5>
<h5>Author Name:</h5>
<h5>Publication:</h5>
<h5>Published Year:</h5>
</div>
</div>
</div> -->
</div>
</section>
<!-- bootstrap js -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
<!-- js -->
<script src="js/main.js"></script>
</body>
</html>