-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (71 loc) · 3.54 KB
/
index.html
File metadata and controls
78 lines (71 loc) · 3.54 KB
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
<!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">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<title>Tualha's Library</title>
</head>
<body>
<div class="wrapper">
<div class="container">
<div class="header">
<div class="logo">
<h1><img class="white" src="icons/library_book.svg" alt="">Library</h1>
</div>
<div class="nav"><button id="myBtn" class="standard-width">Add Book</button></div>
</div>
<div class="main">
<div id="myModal" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h2>Add a book to the library</h2>
<form method="post">
<fieldset>
<legend>Select the format of book</legend>
<ul>
<li><label for="print">Print</label><br><input type="radio" name="media" id="print">
</li>
<li><label for="electronic">Electronic</label><br><input type="radio" name="media"
id="electronic"></li>
<li><label for="audio">Audio</label><br><input type="radio" name="media" id="audio">
</li>
</ul>
</fieldset>
<ul id="book-info" class="book-info">
<li><label for="title">Title</label><br />
<input type="text" name="title" id="title">
</li>
<li><label for="author">Author</label><br />
<input type="text" name="author" id="author">
</li>
<li id="pages-li" class="pages-li"><label for="pages">Pages</label><br />
<input type="text" id="pages" name="pages">
<li id="length-li" class="length-li">
<label for="length">Length</label><br />
<input type="text" id="length" name="length">
</li>
<li>
<lable for="read">Have you already read this book?</label><br />
<input type="checkbox" id="read" name="read">
</li>
<li><label for="date">Date Read</label><br />
<input type="date" id="date" name="date">
</li>
</ul>
<input type="button" id="addBook" value="Add Book" class="standard-width">
</form>
<button class="cancel standard-width">Cancel</button>
</div>
</div>
<div class="library">
</div>
</div>
<div class="footer">
Created by Tualha as part of The Odin Project
</div>
</div>
</body>
</html>