-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
60 lines (60 loc) · 2.51 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
<!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">
<link rel="stylesheet" href="./styles.css">
<title>Library</title>
</head>
<body>
<header>
<div class="logo-wrapper">
<svg fill="white" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z" /></svg>
</div>
<div class="add-book-wrapper">
<a class="btn-add" href="#"><svg class="add-btn" fill="#4ECCA3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>Add Book</title><path d="M17,13H13V17H11V13H7V11H11V7H13V11H17M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" /></svg></a>
</div>
<div class="user-btn-wrapper">
<button class="login-btn">Log in</button>
</div>
</header>
<main>
<div class="card-header">
<p class="book-name">Name</p>
<p class="book-author">Author</p>
<p class="book-pages">Pages</p>
<p>Status</p>
<p></p>
</div>
<div class="form-overlay">
<form id="form" action="#" method="post">
<div class="title">
<label for="input-title">Name :</label>
<input id="input-title" name="title" type="text" required>
</div>
<div class="author">
<label for="input-author">Author :</label>
<input id="input-author" name="author" type="text" required>
</div>
<div class="pages">
<label for="input-pages">Pages :</label>
<input id="input-pages" name="pages" type="number" required>
</div>
<div class="status checkbox-wrapper-31">
<input id="input-status" name="status" type="checkbox" />
<label for="input-status">I read the book.</label>
</div>
<div class="add">
<button class="submit-btn">Add Book</button>
</div>
<div class="cancel">
<button type="button" class="cancel-btn" onclick="resetOverlay()">Cancel</button>
</div>
</form>
</div>
</main>
<footer>© 2023 Amini</footer>
<script src="./app.js"></script>
</body>
</html>