-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (62 loc) · 1.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Library</title>
<link rel="stylesheet" href="style.css" />
<script src="./main.js" defer></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
/>
</head>
<body>
<main>
<h1><i class="fa-solid fa-book-open-reader"></i> Library</h1>
<button class="add-book">+ Add Book</button>
<div class="container">
<!-- card will be rendered here -->
</div>
</main>
<div class="form-container inactive">
<div class="form">
<div class="form-group">
<input
type="text"
name="title"
id="title"
placeholder="Title"
value=""
/>
</div>
<div class="form-group">
<input
type="text"
name="author"
id="author"
placeholder="Author"
value=""
/>
</div>
<div class="form-group">
<input
type="number"
name="pages"
id="pages"
placeholder="Pages"
value=""
/>
</div>
<div class="form-group">
<input type="checkbox" name="read" id="read" />
<label for="read">Have you read this book?</label>
</div>
<div class="form-group">
<button class="red">Cancel</button>
<button class="green">Submit</button>
</div>
</div>
</div>
</body>
</html>