-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (43 loc) · 1.56 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" href="styles/main.css">
<title>Library</title>
</head>
<body>
<h1>Library</h1>
<div id="controls">
<button id="show-library">Show Library</button>
<button id="add-book">Add Book</button>
</div>
<div id="display"></div>
<div id="new-book-form">
<form class="book-entry-form" id="book-form">
<ul>
<li>
<label for="title">Title:</label>
<br>
<input type="text" id="title" name="book_title" required>
</li>
<li>
<label for="author">Author:</label>
<br>
<input type="text" id="author" name="book_author" required>
</li>
<li>
<label for="pages">Pages:</label>
<br>
<input type="text" id="pages" name="book_pages"required>
</li>
<li>
<label for="read">Read?:</label>
<input type="checkbox" id="read" name="book_read">
</li>
<button id="submit-btn" type="submit">Submit new book</button>
</ul>
</form>
</div>
</body>
<script src="scripts/main.js"></script>
</html>