-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (68 loc) · 3.11 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Library</title>
<link rel="stylesheet" href="css/style.css">
<link rel="icon" type="image/png" href="images/favicon2.png">
<link rel="stylesheet" href="//use.fontawesome.com/releases/v5.0.7/css/all.css">
<link href="https://fonts.googleapis.com/css2?family=Lato&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Varela+Round&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Cardo:ital@1&display=swap" rel="stylesheet">
</head>
<body>
<div class="bg-modal">
<div class="modal-content">
<div class="close">+</div>
<h1 id="modal-title">New Book</h1>
<form action="" id="modal-form">
<input type="text" name="title" id="title" placeholder="Book title" required>
<input type="text" name="author" id="author" placeholder="Author name" required>
<input type="text" name="genre" id="genre" placeholder="Book genre" >
<input type="number" name="pages" id="pages" min=1 placeholder="Number of pages" required>
<select name="read" id="read">
<option value=true>Already read</option>
<option value=false selected>Not read yet</option>
</select>
<button type="submit" id="addBook">Add book</button>
</form>
<button id="cancel">Cancel</button>
</div>
</div>
<div class="page-container">
<header>
<h1 id="headerTitle">Library</h1>
<button class="buttonNewbook" id="newBook">New book</button>
<select name="sort" id="sort">
<option value="" disabled selected hidden>Sort</option>
<option value="asc">Sort A-Z</option>
<option value="desc">Sort Z-A</option>
<option value="read-first">Read first</option>
<option value="unread-first">Unread first</option>
</select>
</header>
<h1 id="onloadText">No books in the Library. Insert new books</h1>
<div id="books">
<!--<div class="book">
<p class="tittle">Jjkjlkjlksda</p>
<p class="author">afafs</p>
<p class="pages">asds</p>
<p class="read"> </p>
<img src="images/trash.png" alt="trash bin icon">
</div>
-->
</div>
<footer>
<div>
Copyright ©
<script>document.write(new Date().getFullYear());</script> Created by Stefan Karaferovic
| <i class="fab fa-github"></i> <a href="https://github.com/stefank-29" target="_blank">stefank-29</a>
</div>
</footer>
</div>
<script src="js/script.js"></script>
<script src="js/script2.js"></script>
</body>
</html>