-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (53 loc) · 2.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="true">
<link rel="stylesheet" type="text/css" href="style.css">
<script src="books.js" defer></script>
<title>Read It? Book Tracking App</title>
</head>
<body>
<div class="styling">
<h1>Read It?</h1>
<form action="" class="form" id="form" >
<label for="title">Title: </label>
<input type="text" name="title" id="title" required >
<label for="author">Author</label>
<input type="text" name="author" id="author" required aria-required="true">
<label for="pages">No of pages</label>
<input type="number" min="0" name="pages" id="pages" required aria-required="true">
<fieldset required aria-required="true">
<legend>Read?</legend>
<input type="radio" id="haveread" name="read" value="haveread" required ><label for="haveread">yes</label>
<input type="radio" id="notread" name="read" value="notread"><label for="notread">no</label>
</fieldset>
<div class="wrapper">
<button type="submit" id="add_btn" form="form">Add +</button>
<button id="clear_btn" form="form">Clear</button>
</div>
</form>
<div class="shelf">
<div class="shelf_top">
<a href="https://peaches-xo.github.io/library/"><img id="img_git" src="images/github.svg"></a>
<img id="img_books" src="images/bookstack1.png">
</div>
<div class="shelf_bottom"></div>
</div>
<table>
<thead>
<tr>
<th id="table_title">Title</th>
<th id="table_author">Author</th>
<th id="table_pages">Pages</th>
<th id="table_read">Read?</th>
<th id="table_delete">Delete</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</body>
</html>