-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (38 loc) · 1.44 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
<!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 App</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Your Library</h1>
<div id="newBtn-Container">
<button id="newBtn">+ New Book</button>
</div>
<div id="popUp">
<form id="form" action="/script.js">
<span class="close">×</span>
<legend>New Book</legend>
<div id="textInput">
<p><input type="text" id="title" name="title" minlength="1" maxlength="100" placeholder="Title"
autocomplete="off" required>
</p>
<p><input type="text" id="author" name="author" minlength="3" maxlength="50" placeholder="Author"
autocomplete="off" required>
</p>
<p><input type="number" name="pages" id="pages" placeholder="Number of Pages" autocomplete="off">
</p>
</div>
<div id="checkBox">
<p><label>Read: </label><input type="checkbox" name="read" id="read" value="yes"></p>
</div>
<button type="submit" form="form" id="addBtn">Add</button>
</form>
</div>
<div id="Library-Container"></div>
<script src="script.js"></script>
</body>
</html>