-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (72 loc) · 2.41 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
<!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</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/normalize.css">
<link rel = "shortcut icon" href="Images/book-icon.jpg">
</head>
<body>
<header>
<h1>A Simple Library</h1>
<p id="subHeading">With local storage</p>
</header>
<main>
<div class="container-1">
<button class="new">Add a book</button>
</div>
<div class="table">
<table>
<thead>
<tr>
<th>Title</th>
<th>Author</th>
<th>Pages</th>
<th>Status</th>
<th>Toggle status</th>
<th>Edit</th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<td>TitleData</td>
<td>AuthorData</td>
<td>PagesData</td>
<td>ReadData</td>
<td><button>Toggle status</button></td>
<td><button ><img src="Images/edit.png"></button></td>
<td><button><i class="fa fa-trash"></i> Trash</button></td>
</tbody>
</table>
</div>
<div class="form hidden">
<h2>Enter the book details</h2>
<input type="text" id="title" placeholder="Title">
<input type="text" id="author" placeholder="Author">
<input type="number" id="pages" placeholder="Pages" min="0">
<fieldset role="radiogroup">
<legend>Book status</legend>
<label for="yes">
<input type="radio" id="yes" name="read" value="yes" checked>
<span>Read</span>
</label>
<label for="no">
<input type="radio" id="no" name="read" value="no">
<span>Not read</span>
</label>
</fieldset>
<div class="button-group">
<button id="submit">Submit</button>
<button id="return">Back</button>
</div>
</div>
</main>
<script src = "test.js"></script>
</body>
<footer class="footer">
Made by : <a href="https://github.com/Raphael2215"><img id="ghlogo" src="./Images/gh-dark.png">Raphael2215</a>
</footer>
</html>