-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (50 loc) · 1.88 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
<!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">
<link rel="stylesheet" href="./styles.css">
<!-- icon for search button -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!--Body, Header & Footer Font-->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200&family=Pattaya&family=Playfair+Display:wght@500&display=swap"
rel="stylesheet">
<html xmlns="http://www.w3.org/1999/xhtml"></html>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script defer src="./script.js"></script>
<title>Book Finder</title>
</head>
<body>
<div id='top'>
<header>
<h1>Book Finder</h1>
</header>
<!--Where user will input the information of the book they are searching for. Reset will clear the search box and the results.-->
<form>
<label for="search-txt">
<input type="text" name="search-txt" id="search-txt" placeholder="Search your book...">
</label>
<label for="search-type">
<select id="type">
<option value="title">Title</option>
<option value="author">Author</option>
<option value="isbn">ISBN Number</option>
</select></label>
<button type="submit" id="submitSearch"><i class="fa fa-search"></i></button>
</form></body></div>
<!--This section will display the books retrieved froom Google Books from the user's search text.-->
<section id="results">
</section>
<!--The footer will show a random quote and more information about about the building of the webpage.-->
<footer>
<div id="quoteft">
<p></p>
</div>
<p>Powered by Google Books API and Animechan</p>
<p>Code by Gilda</p>
</footer>
</body>
</html>