-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (57 loc) · 2.01 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
<!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="shortcut icon" href="assets/logo.png" type="image/x-icon">
<link
href="https://api.fontshare.com/v2/css?f[]=zodiak@901,700,800,401,400,801,701,900&f[]=plus-jakarta-sans@800,801,401,301,501,400,601,500,600,700,701,300&display=swap"
rel="stylesheet">
</head>
<body>
<div class="container">
<!-- header -->
<header>
<div class="header-container">
<div class="header-logo">
<img class="logo" src="assets/logo.png" alt="two books and a cup on top of them">
<h1 class="title-logo">Library</h1>
</div>
<div class="header-button">
<button id="add-book"><span>+</span>add</button>
</div>
</div>
</header>
<section class="cards-container">
</section>
<div class="modal-container">
<dialog>
<h2 class="modal-title">Add new book</h2>
<form method="dialog">
<input type="text" id="title" placeholder="Title" required>
<input type="text" id="author" placeholder="Author" required>
<input type="number" min="0" id="pages" placeholder="Pages" required>
<label for="read">Have you read it?
<input type="checkbox" name="read" id="read" class="read">
</label>
<div class="modal-btns">
<button type="submit" id="submit-book">
add
</button>
<button id="close-modal">
close
</button>
</div>
</form>
</dialog>
</div>
<footer>
made with <img src="assets/heart.svg" alt="heart icon"> by <span>annd </span><a href="https://github.com/anndcodes/library"><img src="assets/github.svg" alt="github icon"></a>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>