-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
178 lines (177 loc) · 8.64 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!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>LiteraCure</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<nav id="navbar">
<div class="nav-wrapper">
<div class="mini-nav">
<div class="logo">
<div class="icon">
<img src="https://cdn-icons-png.flaticon.com/512/29/29302.png" alt="Bookshelf Apps" class="img-logo"/>
</div>
</div>
<div class="title">
LiteraCure
</div>
<div class="three-strips">
<label for="strips">☰</label>
<input id="strips" type="checkbox">
</div>
</div>
<div class="menu">
<!-- <button id="but-menu">☰</button> -->
<ul>
<li><a href="#intro"> Start</a></li>
<li><a href="#content">Bookshelf</a></li>
<li><a href="#instruction"> Instruction</a></li>
<li><a href="#about-me"> Profile</a></li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class="inner-main">
<!---------- Introduction ------------>
<section id="intro">
<div class="intro-wrapper">
<div class="intro-content">
<h1>LiteraCure</h1>
<p> ------------</p>
<h3>Cara mudah mengarsipkan buku kamu </h3>
<p> ------------</p>
<p> ------------</p>
<h3>Jangan sampai progres membacamu terkendala karena tidak tercatat dengan baik.</h3>
<ul class="intro-link">
<!-- <button> START! </button>
<button> HOW TO PLAY? </button> -->
<li><a href="#content"> START! </a></li>
<li><a href="#instruction"> HOW TO USE? </a></li>
</ul>
</div>
<div class="intro-img">
<div class="img-wrapper">
<img src="./assets/library-aisle.webp" alt="Bookshelf" class="img-shelf"/>
</div>
</div>
</div>
</section>
<!---------- Main Content ------------>
<section id="content">
<div class="content-wrapper">
<!-- Input phase -->
<h2>Bookshelf Apps : Organize Your Book Easily</h2>
<div class="prep-stage">
<!-- Books register form -->
<section id="book-register">
<h2>Masukkan Buku Baru</h2>
<form id="input-book">
<div class="input">
<label for="input-Title">Judul</label>
<input id="input-Title" type="text" required="" placeholder="ex. Atomic Habit">
</div>
<div class="input">
<label for="input-Author">Penulis</label>
<input id="input-Author" type="text" required="" placeholder="ex. James Clear">
</div>
<div class="input">
<label for="input-Year">Tahun</label>
<input id="input-Year" type="number" required="" placeholder="ex. 2018">
</div>
<div class="input">
<label for="input-Category">Kategory</label>
<input id="input-Category" type="text" required="" placeholder="ex. Motivasi">
</div>
<div class="input_inline">
<label for="input-IsComplete">Selesai dibaca</label>
<input id="input-IsComplete" type="checkbox">
</div>
<button id="bookSubmit" type="submit" onclick="registry()">Masukkan Buku</button>
</form>
</section>
<!-- Bookshelf display -->
<section id="shelf">
<h2>Cari Buku</h2>
<form id="search-book">
<div class="input">
<label for="searchBook" style="text-align: center;">Judul</label>
<input type="text" id="searchBook" placeholder="masukkan judul...">
<button type="submit" id="btn-search-book">Cari</button>
<button type="submit" id="btn-clear-search" onclick="window.location.href=window.location.href">Clear</button>
</div>
</form>
<div id="shelf-base"></div>
</section>
</div>
<!-- Organizing phase -->
<div class="activity">
<!-- List buku yang belum dibaca -->
<section id="idle-book">
<div class="idle-wrapper">
<h2>Buku Yang Belum Dibaca</h2>
<div id="idle-list"></div>
</div>
</section>
<!-- List buku yang sudah dibaca -->
<section id="completed-book">
<div class="idle-wrapper">
<h2>Buku Yang Sudah Dibaca</h2>
<div id="completed-list"></div>
</div>
</section>
</div>
</div>
</section>
<!---------- Instruction ------------>
<section id="instruction">
<div class="instruction-wrapper">
<div class="how-to-play">
<h1>Bagaimana cara penggunaanya?</h1>
<h2>Isi formulir masukan buku baru dan pastikan semua terisi dengan benar.</h2>
<h2>Jangan lupa centang <b>Selesai dibaca</b> apabila buku yang kamu masukkan sudah selesai kamu baca, lalu tekan <b>Masukkan Buku</b></h2>
<h2>Buku yang telah kamu masukkan akan berada di rak buku yang belum dibaca atau yang sudah dibaca.</h2>
<h2>Untuk mencari buku yang kamu inginkan, isi kolom pencarian dan tekan tombol Cari.</h2>
<h2>Apabila kamu ingin menandai buku sudah dibaca maka tekan Selesai.</h2>
<h2>Sedangkan apabila kamu ingin menandai buku belum dibaca tekan Baca.</h2>
<h2>Kamu juga bisa menghapus buku kamu dengan menekan tombol Hapus dan mengkonfirmasi.</h2>
</div>
</div>
</section>
<!---------- About Me ------------>
<section id="about-me">
<div class="about-wrapper">
<!-- Profile Photo -->
<div class="about-img">
<img src="./assets/Profile.png" alt="Profile" class="img-profile"/>
</div>
<!-- Profile Information -->
<div class="about-info">
<h3>BIODATA</h3>
<h4><b>Nama : Habib Nurkholis</b></h4>
<h4><b>ID : M004X0007</b></h4>
</div>
</div>
</section>
</div>
<div id="popup"></div>
</main>
<footer>
<div class="foot-wrapper">
<p>
<b>SIB Dicoding Batch 3 - 2022</b>
</p>
</div>
</footer>
<script src="./script/storage.js"></script>
<script src="./script/display.js"></script>
<script src="./script/main.js"></script>
<script src="./script/render.js"></script>
</body>
</html>