-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (46 loc) · 1.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<title>Library</title>
</head>
<body>
<div class="header">
<button id="add-button">Add +</button>
<h1>MY LIBRARY</h1>
</div>
<dialog>
<form>
<p>
<label for="title">
Title:
<input type="text" required id="title" name="title" value = "">
</label>
</p>
<p>
<label for="author">
Author:
<input type="text" required id="author" name="author" value = "">
</label>
</p>
<p>
<label for="pages">
Pages:
<input type="number" required id="pages" name="pages" value = "">
</label>
</p>
<p>
<label for="read">
Read:
<input type="radio" required id="read" name="read">
</label>
</p>
<button id="confirm-button">Confirm</button>
</form>
</dialog>
<div class="container"></div>
</body>
</html>