-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (60 loc) · 2.09 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!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">
</head>
<body>
<div id="header">
<h2>Library</h2>
<div id="instructions">
<p id="rules">Feel free to add a new book or even take one out</p>
<button id="add-book">Add Book</button>
</div>
</div>
<div id="shelf">
<div id="shelf-text">
<p id="shelf-title">Shelf</p>
<p id="shelf-status">This is where books would go... if there were any</p>
</div>
<div id="shelf-books">
</div>
</div>
<div class='modal-form'>
<div id="modal-content">
<h3 class='form-title' style="
margin-bottom: 1.5rem;
">Add Book</h3>
<form action='#' id='add-form'>
<div class='book-input'>
<label for='title'>Book Title</label>
<input type='text' name='title' id='title' placeholder='E.g. Things Fall Apart' required>
</div>
<div class='book-input'>
<label for='author'>Author</label>
<input type='text' name='author' id='author' placeholder = 'E.g. Chinua Achebe' required>
</div>
<div class='book-input'>
<label for='page-count'>Page Count</label>
<input type='number' name='page-count' id='page-count' placeholder='E.g. 209' required>
</div>
<div class='book-in'>
<label for=read-status>Read</label>
<input type='checkbox' name='read-status' id='read-status'>
</div>
<div class='form-buttons'>
<button id='save-book'>Save</button>
<button id='cancel-form'>Cancel</button>
</div>
</form>
</div>
</div>
<div id="footer">
Made by Tobi Oyero
</div>
<script type="text/javascript" src="app.js"></script>
</body>
</html>