-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (51 loc) · 1.74 KB
/
index.html
File metadata and controls
54 lines (51 loc) · 1.74 KB
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
<!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>Library</title>
<link rel="stylesheet" href="style.css">
<script defer src="main.js"></script>
</head>
<body>
<h1>My Library</h1>
<p>Following are my favourite books. Will be adding more and more using the form below. Watchout for updates. </p>
<div class="form">
<form action="" id="bookForm">
<div class="library-form">
<div class="book-name">
<label for="bookName">Book</label>
<input type="text" id="bookName"/>
</div>
<div class="author-name">
<label for="authorName">Author</label>
<input type="text" id="authorName"/>
</div>
<div class="status">
<label for="status">Status</label>
<select name="status" id="status" class="status-selection">
<option value="read">Read</option>
<option value="not read">Not read</option>
</select>
</div>
</div>
<div>
<input type="submit" value="submit" id="submitButton"/>
</div>
</form>
</div>
<div id="display-container">
<table id="outputTable">
<tr id="tableHeader">
<th>Name</th>
<th>Author</th>
<th>Status</th>
<th>Remove</th>
</tr>
<tbody id="tableBody">
</tbody>
</table>
</div>
</body>
</html>