-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (34 loc) · 1.18 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
<!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="library-container">
<nav class="navbar">
<div class="intro">Click the New Book button to add a new book to your library</div>
<div class="new-book-btn">
<button>New Book</button>
</div>
</nav>
</div>
<div class="form-container">
<form action="#" class="new-book-form">
<label for="title">Book title:</label>
<input type="text" name="title" id="title">
<label for="author">Author:</label>
<input type="text" name="author" id="author">
<label for="pages">Pages:</label>
<input type="number" name="pages" id="pages">
<label for="read">Read:</label>
<input type="checkbox" name="read" id="read">
<input type="submit" value="Add Book" class="submit-btn">
</form>
</div>
<div class="library"></div>
</body>
</html>