-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibrary.html
61 lines (47 loc) · 1.72 KB
/
library.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width= , initial-scale=1.0">
<title>Library</title>
<!-- Stylesheet -->
<link rel="stylesheet" href="./library.css">
<!-- Icons stylesheet -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- JS file -->
<script type="text/javascript" src="library.js"></script>
</head>
<body>
<header>
<h1>Library project</h1>
</header>
<main>
<div class="newBookButtonWrapper">
<button id="newBookButton">Add new book</button>
</div>
<div id="formWrapper">
<form action="javascript:void(0);" class="createNewBookForm">
<i class="fa fa-times" ></i>
<h3>New book</h3>
<!-- <label for="bookTitleInputField"></label> -->
<input type="text" id="bookTitleInputField" name="bookTitleInputField" required="required" placeholder="Title" >
<br>
<!-- <label for="bookAuthorInputField"></label> -->
<input type="text" id="bookAuthorInputField" name="bookAuthorInputField" required="required" placeholder="Author">
<br>
<!-- <label for="bookPagesInputField"></label> -->
<input type="number" min=0 step=1 id="bookPagesInputField" name="bookPagesInputField" required="required" placeholder="Number of pages">
<br>
<input type="radio" id="read" value="read" name="readStatus" required="required">
<label for="read">read</label>
<input type="radio" id="unread" value="not yet read" name="readStatus" required="required">
<label for="unread">unread</label>
<br>
<input type="submit" value="submit" id="addBookToLibraryButton">
</form>
</div>
<div id="emptyBox"></div>
</main>
<footer></footer>
</body>
</html>