-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (34 loc) · 1.3 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
<!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="style.css">
<title>Library</title>
</head>
<body>
<button id="add-book">Add book</button>
<div id="modal">
<div id="modal-content">
<span id="close">×</span>
<form>
<label for="title">Title:</label><br>
<input type="text" id="title" name="title"><br>
<label for="author">Author: </label><br>
<input type="text" id="author" name="author"><br>
<label for="pages">Number of pages: </label><br>
<input type="number" id="pages" name="pages"><br>
<label for="read">Have you read it yet?</label>
<input type="checkbox" id="read" name="read"><br>
<button type="button" id="submit">Submit</button>
</form>
</div>
</div>
<div id="container"></div>
<footer>
<a href="https://github.com/Tudwall/library"><img src="imgs/GitHub-Mark-32px.png" alt="A link to the GitHub repository" title="made by Tudwall"></a>
</footer>
<script src="app.js"></script>
</body>
</html>