-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbookshelf.html
55 lines (49 loc) · 1.87 KB
/
bookshelf.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
<!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>Bookshelf</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header>
<h1>Bookshelf</h1>
<form>
<input class="" type="text" id="bookTitle" name="" placeholder="Cari Buku ..." />
</form>
</header>
<div class="wrapper">
<div class="container bg-white shadow">
<h2 class="container-header text-center">Tambah Buku</h2>
<form class="form" action="#" id="form">
<div class="form-group form-title">
<input type="text" id="title" name="title" required placeholder="Judul Buku" />
</div>
<div class="form-group form-title">
<input type="text" id="author" name="author" required placeholder="Author" />
</div>
<div class="form-group form-title">
<input type="date" id="date" name="date" required />
</div>
<button type="submit" class="btn-submit" id="btn-submit">Tambah List</button>
<div class="jmlh-book">
<h3>Jumlah Buku:</h3>
<h4 id="total-books"></h4>
</div>
</form>
<button type="submit" class="btn-reset" id="btn-reset">Hapus Semua List</button>
</div>
<div class="container2">
<h2 class="container-header">Belum Dibaca: <span id="unread-book"></span></h2>
<div class="list-item" id="books"></div>
</div>
<div class="container2">
<h2 class="container-header">Sudah Dibaca: <span id="read-book"></span></h2>
<div class="list-item" id="books-items"></div>
</div>
</div>
<script src="main.js"></script>
</body>
</html>