-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (64 loc) · 2.04 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
<!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" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;700&display=swap"
rel="stylesheet"
/>
<script src="./script.js" defer></script>
</head>
<body>
<div class="container">
<nav class="nav-bar">
<img src="./pngwing.com.png" alt="books" />
<h1>Library</h1>
<a href="#" class="add-book">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M12 9v6m3-3H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"
/>
</svg>
</a>
</nav>
<main class="card-list"></main>
<form class="add-book--modal">
<h2>ADD BOOK</h2>
<div>
<label for="title">Title: </label>
<input name="title" type="text" id="title" />
</div>
<div>
<label for="author">Author: </label>
<input name="author" type="text" id="author" />
</div>
<div>
<label for="pages">Pages: </label>
<input name="pages" type="number" min="1" id="pages" />
</div>
<div>
<label for="read-status">Book status: </label>
<select name="read-status" id="read-status">
<option value="yes">finished</option>
<option value="reading">reading</option>
<option value="no">untouched</option>
</select>
</div>
<button class="button" type="submit">ADD</button>
</form>
</div>
</body>
</html>