-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
64 lines (63 loc) · 1.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Library</title>
<link rel="stylesheet" href="./assets/stylesheets/book.css">
</head>
<body>
<header>
<h2>Book Library</h2>
</header>
<div class="container">
<section class="left">
<button id="add-new-book">New Book</button>
<form action="" id="add-book-form">
<div>
<label for="title">Title</label>
<input type="text" id="title" required>
</div>
<div>
<label for="author">Author</label>
<input type="text" id="author" required>
</div>
<div>
<label for="pages">No. of Pages</label>
<input type="number" id="pages" required>
</div>
<div>
<label for="pages">Have you read this book?</label>
<select name="read" id="read-status">
<option value="false">No</option>
<option value="true">Yes</option>
</select>
</div>
<div>
<input type="submit" id="submit" value="Save">
</div>
</form>
</section>
<section class="right">
<table>
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>No of Pages</th>
<th>Status</th>
<th>Actions</th>
</tr>
</thead>
<tbody id="book-section">
</tbody>
</table>
</section>
</div>
<script src="./assets/javascript/book.js"></script>
<script src="./assets/javascript/library.js"></script>
<script src="./assets/javascript/helper.js"></script>
<script src="./assets/javascript/app.js"></script>
</body>
</html>