-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
103 lines (103 loc) · 3.14 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
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<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=Pacifico&family=Sacramento&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<link
rel="shortcut icon"
href="./img/library-icon-2.svg"
type="image/x-icon"
/>
<script src="script.js" type="module" defer></script>
<title>Library</title>
</head>
<body>
<header>
<div class="title">
<h1>Library</h1>
<img
src="./img/library-icon-2.svg"
alt="Logo of three books side by side"
/>
</div>
<div class="action">
<h2>Add a book</h2>
<img src="./img/plus-icon-2.svg" alt="Logo of a plus symbol" />
</div>
</header>
<dialog id="bookDialog">
<form id="bookForm" method="dialog" action="">
<div class="titleContainer">
<label for="title">Title</label>
<div class="inputContainer">
<input type="text" name="title" id="title" required />
<span class="inputInfo">* Required field</span>
</div>
</div>
<div class="authorContainer">
<label for="author">Author</label>
<div class="inputContainer">
<input type="text" name="author" id="author" required />
<span class="inputInfo">* Required field</span>
</div>
</div>
<div class="pagesContainer">
<label for="pages">Pages</label>
<div class="inputContainer">
<input type="number" name="pages" id="pages" required />
<span class="inputInfo">* Required field</span>
</div>
</div>
<div class="readContainer">
<h2>Read</h2>
<label class="readStatusSlider" for="read">
<input
type="checkbox"
name="read"
id="read"
class="sliderTrigger"
/>
<span class="sliderButton"></span>
</label>
</div>
</form>
<div class="bookButtons">
<button id="cancel" type="reset">Cancel</button>
<button id="submit" type="submit">Add Book</button>
</div>
</dialog>
<div class="background">
<main></main>
<footer>
<div class="footer-background">
<p>Made by <span>Angelo Thys</span></p>
<div class="footer-logos">
<img
class="signature"
src="./img/logo.svg"
alt="Logo of the creator of the website"
/>
<a
class="github-link"
href="https://github.com/AngeloThys"
target="_blank"
>
<img
class="github-logo"
src="./img/github-mark.svg"
alt="Logo of Github"
/>
</a>
</div>
</div>
</footer>
</div>
</body>
</html>