-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
55 lines (47 loc) · 2.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Library Tool</title>
<script src="./logic/script.js" defer type="module"></script>
<script src="./storage/storage_manager.js" defer type="module"></script>
<script src="https://kit.fontawesome.com/fbeeabe0fc.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
<header>
<h1>Library</h1>
<div class="wrapper">
<button class="add" type="button">Add book <i class="fa-solid fa-plus"></i></button>
<button class="demo" type="button">Demo</button>
</div>
</header>
<dialog>
<form class="modal-content" method="dialog" novalidate>
<section>
<h2>Add Book</h2>
<p>
(Required fields are followed by
<strong><span aria-label="required">*</span></strong>).
</p>
<div class="form-inputs-layout">
<label for="title">Title<span aria-label="required">*</span></label><input type="text" id="title" autofocus required>
<span class="error" aria-live="polite"></span>
<label for="author">Author<span aria-label="required">*</span></label><input type="text" id="author" required>
<span class="error" aria-live="polite"></span>
<label for="pageNum">Page Number<span aria-label="required">*</span></label><input type="number" id="pageNum" required min="0">
<span class="error" aria-live="polite"></span>
<label for="url">Picture URL</label><input type="url" id="url">
<span class="error" aria-live="polite"></span>
<label for="isRead">Read?</label><input type="checkbox" id="isRead">
</div>
<button class="done" value="done">Done!</button>
<button class="cancel" value="cancel">Cancel</button>
</section>
</form>
</dialog>
<section class="books-display">
</section>
</body>
</html>