-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (97 loc) · 3.37 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!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="./CSS/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:wght@400;700;900&display=swap"
rel="stylesheet"
/>
<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=Oswald:wght@700&display=swap"
rel="stylesheet"
/>
<script
src="https://kit.fontawesome.com/59943ffdf9.js"
crossorigin="anonymous"
></script>
<script src="library.js" defer></script>
</head>
<body class="dark-mode">
<div class="container">
<header>
<h1><i class="fas fa-book-open"></i> My Virtual Library</h1>
<div class="mode-toggle">
<div class="mode"><i class="fas fa-sun light-toggle"></i></div>
<div class="mode"><i class="far fa-moon dark-toggle"></i></div>
</div>
</header>
</div>
<main class="main">
<div class="grid container"></div>
<aside class="stats">
<h2>Library Details</h2>
<p>Total books: <span class="total-books">3</span></p>
<p>Read: <span class="read-books-number">3</span></p>
<p>Not read: <span class="unread-books-number">0</span></p>
<p class="reading-status-color">
Read: <span class="read-books-color"></span>
</p>
<p class="reading-status-color">
Not Read: <span class="unread-books-color"></span>
</p>
<button class="delete-all-btn">DELETE ALL</button>
</aside>
<div class="display-popup-button">+</div>
</main>
<footer>
<p>Copyright © 2021 BlizZard</p>
</footer>
<section class="form-section">
<form>
<span class="delete-btn remove-form">+</span>
<h2 class="form-heading">Add New Book</h2>
<label for="title"
>Book title*
<input required type="text" id="title" placeholder="Title" />
</label>
<label for="author"
>Book author*
<input required type="text" id="author" placeholder="Author" />
</label>
<label for="page-number">
Number of pages*
<input
required
type="number"
id="page-number"
placeholder="Number Of Pages"
/>
</label>
<label for="language">
Language*
<input required type="text" id="language" placeholder="Language" />
</label>
<label for="publishing-date">
Publishing date*
<input required type="date" id="publishing-date" />
</label>
<label for="reading-status" class="reading-status">
Have you read this book?
<input type="checkbox" id="reading-status" />
</label>
<div class="btn-container">
<button class="add-book-btn" type="submit">Add Book</button>
<button class="clear-form-btn">Clear Fields</button>
</div>
</form>
</section>
</body>
</html>