-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
102 lines (89 loc) · 4.21 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!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>Todo Apps</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
</head>
<body>
<header>
<h1>
BookShelf Web Storage
</h1>
</header>
<div class="wrapper">
<div class="container">
<div class="container-form bg-white shadow" id="add-todo">
<h2 class="container-header text-center">Masukan Buku Baru</h2>
<form class="form" action="#" id="form">
<div class="form-group form-title">
<label for="title">Judul</label>
<input type="text" id="title" name="title" required>
</div>
<div class="form-group form-title">
<label for="author">Penulis</label>
<input type="text" id="author" name="author" required>
</div>
<div class="form-group form-title">
<label for="year">Tahun</label>
<input type="number" id="year" name="year" required min="1900" onkeydown="javascript: return event.keyCode == 69 ? false : true">
</div>
<div class="form-group form-title">
<label for="year">Jenis</label>
<select class="dropdown" id="category" name="category" required>
<option value="">-- Select --</option>
<option class="option" value="Ensiklopedia">Ensiklopedia</option>
<option class="option" value="Novel">Novel</option>
<option class="option" value="Komik">Komik</option>
<option class="option" value="Biografi">Biografi</option>
<option class="option" value="Majalah">Majalah</option>
<option class="option" value="Karya Ilmiah">Karya Ilmiah</option>
<option class="option" value="Panduan">Panduan</option>
</select>
</div>
<div class="form-check">
<p>Selesai dibaca</p>
<input type="checkbox" id="isComplete" name="isComplete">
</div>
<input type="submit" value="Submit" name="Submit" class="btn-submit">
</form>
</div>
<div class="container-total">
<div class="container-form total-uncompleted">
<h2></h2>
</div>
<div class="container-form total-completed">
<h2></h2>
</div>
<div id="chart"></div>
</div>
</div>
<div class="container-search">
<input type="text" id="search" placeholder="search...">
<button type="submit" id="searchButton">Search</button>
<button type="submit" id="removeButton">Remove</button>
</div>
<div id="filteredTodos"></div>
<div class="container bg-white shadow">
<div class="container-not">
<h2 class="container-header">Belum Selesai Dibaca</h2>
<div class="list-item" id="todos">
</div>
</div>
<div class="container-finish">
<h2 class="container-header">Selesai Dibaca</h2>
<div class="list-item" id="completed-todos">
</div>
</div>
</div>
</div>
<footer>
<p>© 2024 Stephen Anugerah Wau. Github click <a href="https://github.com/Stephen-Wau" target="_blank">here</a></p>
</footer>
<script src="js/script.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.10.7/dist/sweetalert2.all.min.js"></script>
</body>
</html>