-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
276 lines (248 loc) · 9.68 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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Tebak Tanggal Lahir</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link
href="https://fonts.googleapis.com/css?family=Viga&display=swap"
rel="preload"
as="style"
/>
<link
href="https://fonts.googleapis.com/css?family=Viga&display=swap"
rel="stylesheet"
/>
<link rel="preload" as="style" href="style.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1 class="text-align-center">Tebak tanggal lahir</h1>
<!-- TANGGAL -->
<p id="question" class="text-align-center">
Apakah <span id="Date">tanggal</span> lahirmu ada di sini ?
</p>
<div id="table">
<!-- Tabel 1 -->
<div id="tanggal1" class="text-align-center">
<p>Pertanyaan 1 - Tanggal</p>
<img src="./img/tanggal/tanggal_seri_A.JPG" alt="" id="image" />
<div class="container-button margin-top-10px">
<button onclick="button1TanggalYa()">YA</button>
<button onclick="button1TanggalTidak()">TIDAK</button>
</div>
</div>
<!-- Tabel 2 -->
<div id="tanggal2" class="text-align-center">
<p>Pertanyaan 2 - Tanggal</p>
<img src="./img/tanggal/tanggal_seri_B.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button2TanggalYa()">YA</button>
<button onclick="button2TanggalTidak()">TIDAK</button>
</div>
</div>
<!-- Tabel 3 -->
<div id="tanggal3" class="text-align-center">
<p>Pertanyaan 3 - Tanggal</p>
<img src="./img/tanggal/tanggal_seri_C.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button3TanggalYa()">YA</button>
<button onclick="button3TanggalTidak()">TIDAK</button>
</div>
</div>
<!-- Tabel 4 -->
<div id="tanggal4" class="text-align-center">
<p>Pertanyaan 4 - Tanggal</p>
<img src="./img/tanggal/tanggal_seri_D.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button4TanggalYa()">YA</button>
<button onclick="button4TanggalTidak()">TIDAK</button>
</div>
</div>
<!-- Table 5 -->
<div id="tanggal5" class="text-align-center">
<p>Pertanyaan 5 - Tanggal</p>
<img src="./img/tanggal/tanggal_seri_E.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button5TanggalYa()">YA</button>
<button onclick="button5TanggalTidak()">TIDAK</button>
</div>
</div>
</div>
<!-- BULAN -->
<!-- Tabel 1 -->
<div id="bulan1" class="text-align-center">
<p>Pertanyaan 1 - Bulan</p>
<img src="./img/bulan/bulan_seri_A.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button1BulanYa()">YA</button>
<button onclick="button1BulanTidak()">TIDAK</button>
</div>
</div>
<!-- Tabel 2 -->
<div id="bulan2" class="text-align-center">
<p>Pertanyaan 2 - Bulan</p>
<img src="./img/bulan/bulan_seri_B.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button2BulanYa()">YA</button>
<button onclick="button2BulanTidak()">TIDAK</button>
</div>
</div>
<!-- Tabel 3 -->
<div id="bulan3" class="text-align-center">
<p>Pertanyaan 3 - Bulan</p>
<img src="./img/bulan/bulan_seri_C.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button3BulanYa()">YA</button>
<button onclick="button3BulanTidak()">TIDAK</button>
</div>
</div>
<!-- Table 4 -->
<div id="bulan4" class="text-align-center">
<p>Pertanyaan 4 - Bulan</p>
<img src="./img/bulan/bulan_seri_D.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button4BulanYa()">YA</button>
<button onclick="button4BulanTidak()">TIDAK</button>
</div>
</div>
<!-- TAHUN 2 ANGKA PERTAMA-->
<!-- Table 1 -->
<div id="tahun1" class="text-align-center">
<p>Pertanyaan 1 - Tahun</p>
<img src="./img/tahun/tahun_seri_A.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button1TahunYa()">YA</button>
<button onclick="button1TahunTidak()">TIDAK</button>
</div>
</div>
<!-- Table 2 -->
<div id="tahun2" class="text-align-center">
<p>Pertanyaan 2 - Tahun</p>
<img src="./img/tahun/tahun_seri_B.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button2TahunYa()">YA</button>
<button onclick="button2TahunTidak()">TIDAK</button>
</div>
</div>
<!-- Table 3 -->
<div id="tahun3" class="text-align-center">
<p>Pertanyaan 3 - Tahun</p>
<img src="./img/tahun/tahun_seri_C.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button3TahunYa()">YA</button>
<button onclick="button3TahunTidak()">TIDAK</button>
</div>
</div>
<!-- Table 4 -->
<div id="tahun4" class="text-align-center">
<p>Pertanyaan 4 - Tahun</p>
<img src="./img/tahun/tahun_seri_D.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button4TahunYa()">YA</button>
<button onclick="button4TahunTidak()">TIDAK</button>
</div>
</div>
<!-- Table 5 -->
<div id="tahun5" class="text-align-center">
<p>Pertanyaan 5 - Tahun</p>
<img src="./img/tahun/tahun_seri_E.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button5TahunYa()">YA</button>
<button onclick="button5TahunTidak()">TIDAK</button>
</div>
</div>
<!-- Table 6 -->
<div id="tahun6" class="text-align-center">
<p>Pertanyaan 6 - Tahun</p>
<img src="./img/tahun/tahun_seri_F.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button6TahunYa()">YA</button>
<button onclick="button6TahunTidak()">TIDAK</button>
</div>
</div>
<!-- Table 7 -->
<div id="tahun7" class="text-align-center">
<p>Pertanyaan 7 - Tahun</p>
<img src="./img/tahun/tahun_seri_G.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button7TahunYa()">YA</button>
<button onclick="button7TahunTidak()">TIDAK</button>
</div>
</div>
<!-- TAHUN 2 ANGKA TERAKHIR -->
<!-- Table 1 -->
<div id="tahun1-2" class="text-align-center">
<p>Pertanyaan 8 - Tahun</p>
<img src="./img/tahun/tahun_seri_A.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button1TahunYa2()">YA</button>
<button onclick="button1TahunTidak2()">TIDAK</button>
</div>
</div>
<!-- Table 2 -->
<div id="tahun2-2" class="text-align-center">
<p>Pertanyaan 9 - Tahun</p>
<img src="./img/tahun/tahun_seri_B.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button2TahunYa2()">YA</button>
<button onclick="button2TahunTidak2()">TIDAK</button>
</div>
</div>
<!-- Table 3 -->
<div id="tahun3-2" class="text-align-center">
<p>Pertanyaan 10 - Tahun</p>
<img src="./img/tahun/tahun_seri_C.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button3TahunYa2()">YA</button>
<button onclick="button3TahunTidak2()">TIDAK</button>
</div>
</div>
<!-- Table 4 -->
<div id="tahun4-2" class="text-align-center">
<p>Pertanyaan 11 - Tahun</p>
<img src="./img/tahun/tahun_seri_D.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button4TahunYa2()">YA</button>
<button onclick="button4TahunTidak2()">TIDAK</button>
</div>
</div>
<!-- Table 5 -->
<div id="tahun5-2" class="text-align-center">
<p>Pertanyaan 12 - Tahun</p>
<img src="./img/tahun/tahun_seri_E.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button5TahunYa2()">YA</button>
<button onclick="button5TahunTidak2()">TIDAK</button>
</div>
</div>
<!-- Table 6 -->
<div id="tahun6-2" class="text-align-center">
<p>Pertanyaan 13 - Tahun</p>
<img src="./img/tahun/tahun_seri_F.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button6TahunYa2()">YA</button>
<button onclick="button6TahunTidak2()">TIDAK</button>
</div>
</div>
<!-- Table 7 -->
<div id="tahun7-2" class="text-align-center">
<p>Pertanyaan 14 - Tahun</p>
<img src="./img/tahun/tahun_seri_G.JPG" alt="" />
<div class="container-button margin-top-10px">
<button onclick="button7TahunYa2()">YA</button>
<button onclick="button7TahunTidak2()">TIDAK</button>
</div>
</div>
<div class="container-button text-align-center margin-top-10px">
<input type="button" value="SUBMIT" onclick="onSubmit()" id="submit" />
<input
type="button"
value="RESET"
onclick="window.location.reload(false);"
/>
</div>
<script src="main.js" defer="defer"></script>
</body>
</html>