-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (44 loc) · 1.58 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
<!DOCTYPE html>
<html>
<head>
<title>Library</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="header">Library</header>
<div class="books-display">
</div>
<div class="bg-modal">
<div class="modal-content">
<div class="close">+</div>
<form action="">
<h2>New Book</h2>
<div class="name">
<input id="name-text" type="text" name="name" placeholder=" " required>
<label for="name-text">Name</label>
</div>
<div class="author">
<input type="text" id="author-text" name="author" placeholder=" " required>
<label for="author-text">Author</label>
</div>
<div class="pages">
<input type="number" id="pages-text" name="pages" placeholder=" " required step="1">
<label for="pages-text">Pages</label>
</div>
<label for="read-book">
<input type="checkbox" name="read-book" id="read-book">
Has been read
</label>
<div class="modal-buttons">
<button type="button" class="cancel">Cancel</button>
<button type="button" class="submit">Submit</button>
</div>
</form>
</div>
</div>
<button class="new-book">+</button>
<script src=script.js></script>
</body>
</html>