-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (103 loc) · 3.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
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
104
105
106
<!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 project</title>
<link rel="stylesheet" href="./styles.css" />
<link rel="icon" type="image/x-icon" href="./images/icons8-books-32.png" />
<script src="./script.js" defer></script>
</head>
<body>
<div class="container">
<div class="header-section">
<div class="header-section__book-info">
<h1>Book Library</h1>
<h3 class="js-book-num">Books:</h3>
<h3 class="js-read-num">Read:</h3>
<h3 class="js-unread-num">Unread:</h3>
<button class="js-remove-all">Clear history</button>
</div>
<div class="header-section__library-image">
<img
src="./images/pexels-guilherme-rossi-2553425.jpg"
alt="book shelves"
height="250px"
width="300px"
/>
</div>
</div>
<div class="js-display-section">
<button class="js-add-book-btn">+</button>
<div class="js-popup-form">
<form id="my-form">
<p class="js-popup-form__title-input">
<label for="book-title">Title*: </label>
<input
type="text"
name="title"
id="book-title"
placeholder="1984"
minlength="2"
maxlength="20"
required
/>
</p>
<p class="js-popup-form__author-input">
<label for="book-author">Author*: </label>
<input
type="text"
name="author"
id="book-author"
placeholder="George Orwell"
minlength="2"
maxlength="20"
required
/>
</p>
<p class="js-popup-form__pages-input">
<label for="book-pages">Pages*: </label>
<input
type="number"
name="pages"
id="book-pages"
placeholder="328"
max="10000"
required
/>
</p>
<p class="js-popup-form__status-input">
<label>Status*: </label>
<input
type="radio"
name="status"
id="book-status1"
value="read"
/>
<label for="book-status1">Read</label>
<input
type="radio"
name="status"
id="book-status2"
value="unread"
checked
/>
<label for="book-status2">Unread</label>
</p>
<button type="button" class="js-popup-form__submit-btn">
Create book
</button>
</form>
</div>
</div>
<footer id="footer">
<p class="footer__github-link">
<a target="_blank" href="https://github.com/silenceinspace"
>GitHub account
</a>
</p>
</footer>
</div>
</body>
</html>