-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
333 lines (319 loc) · 15.5 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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>🇬🇷 Greek Quiz</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header class="header-bar">
<a href="https://github.com/kay-who-codes/Greek-Quiz" class="header-link">🇬🇷 Greek Quiz</a>
<div class="dropdown">
<button class="dropbtn" onclick="toggleDropdown()">More Apps</button>
<div class="dropdown-content" id="dropdownMenu">
<a href="https://kay-who-codes.github.io/Cards-Against-Humanity/">⬜ Cards Against Humanity</a>
<a href="https://kay-who-codes.github.io/Ultimate-Drinking-Cards">🍻 Ultimate Drinking Cards</a>
<a href="https://kay-who-codes.github.io/Kings-Cup/">🍺 Kings Cup</a>
<a href="https://kay-who-codes.github.io/Question-Cards/">❓ Question Cards</a>
<a href="https://kay-who-codes.github.io/Daily-Comic-Strips/">🗞️ Comic Strips</a>
<a href="https://kay-who-codes.github.io/Soundboard/">🔊 Soundboard</a>
<a href="https://kay-who-codes.github.io/Greek-Quiz/">🇬🇷 Greek Quiz</a>
<a href="https://kay-who-codes.github.io/HTML-Displayer/">👁️ HTML Viewer</a>
<a href="https://kay-who-codes.github.io/Calendar-Holiday-Countdown/">📅 Calendar Countdown</a>
<a href="https://kay-who-codes.github.io/Skint-Countdown/">⌛ Skint Countdown</a>
<a href="https://kay-who-codes.github.io/Song-Inspirator/">🎶 Song Inspirator</a>
<a href="https://kay-who-codes.github.io/Bible-Completion-Calculator/">✝️ Bible Completion Calculator</a>
<a href="https://kay-who-codes.github.io/Random-Bible-Verse/">✝️ Random Bible Verses</a>
<a href="https://kay-who-codes.github.io/Random-Numbers/">🔢 Random Number Generator</a>
<a href="https://kay-who-codes.github.io/Coinflip/">🪙 Coinflip</a>
</div>
</div>
</header>
<div class="quiz-container quiz-page">
<div class="question" id="question">What is the gender and case of the word?</div>
<div class="options" id="options">
<!-- Quiz will be dynamically inserted here -->
</div>
<div id="answerFeedback"></div>
<div class="next-button-container">
<button class="next-button" id="next" style="display:none;">Next</button>
</div>
<div class="stats">
Correct: <span id="correct">0</span> | Incorrect: <span id="incorrect">0</span>
</div>
</div>
<!-- quiz type selector -->
<div class="quiz-type-selector" id="quizTypeSelector">
<label for="quizType">Select Quiz Type:</label>
<select id="quizType" onchange="loadQuizData()">
<option value="word-roots">Word Roots</option>
<option value="greek-cases">Greek Cases</option>
</select>
</div>
<button class="reset-button" id="reset">Reset</button>
<!-- View Tables Button -->
<button id="viewTables" class="view-tables-button">View Tables</button>
<!-- Modal Pop-up -->
<div id="modal" class="modal">
<div class="modal-content">
<span id="closeModal" class="close">×</span>
<h2>Greek Grammar Tables</h2>
<h3>Case Usage and Function in Sentences</h3>
<table>
<thead>
<tr>
<th>Case</th>
<th>Function</th>
<th>Example in Greek</th>
<th>Translation</th>
</tr>
</thead>
<tbody>
<tr><td>Nominative</td><td>Subject of the sentence</td><td>Ὁ φίλος ἔρχεται.</td><td>The friend is coming.</td></tr>
<tr><td>Genitive</td><td>Possession, origin, or partitive sense</td><td>Τοῦ φίλου τὸ βιβλίον.</td><td>The friend's book.</td></tr>
<tr><td>Dative</td><td>Indirect object, location, or means</td><td>Δίδωμι τῷ φίλῳ.</td><td>I give to the friend.</td></tr>
<tr><td>Accusative</td><td>Direct object or movement</td><td>Βλέπω τὸν φίλον.</td><td>I see the friend.</td></tr>
<tr><td>Vocative</td><td>Direct address</td><td>Ὦ φίλε!</td><td>O friend!</td></tr>
</tbody>
</table>
<h3>Declension Practice Table for Common Words</h3>
<table>
<thead>
<tr>
<th>Word</th>
<th>Gender</th>
<th>Case</th>
<th>Singular</th>
<th>Plural</th>
</tr>
</thead>
<tbody>
<tr><td rowspan="5">ἄνθρωπ-</td><td rowspan="5">Masculine</td><td>Nominative</td><td>ἄνθρωπ<b>ος</b></td><td>ἄνθρωπ<b>οι</b></td></tr>
<tr><td>Genitive</td><td>ἀνθρώπ<b>ου</b></td><td>ἀνθρώπ<b>ων</b></td></tr>
<tr><td>Dative</td><td>ἀνθρώπ<b>ῳ</b></td><td>ἀνθρώπ<b>οις</b></td></tr>
<tr><td>Vocative</td><td>ἄνθρωπ<b>ε</b></td><td>ἄνθρωπ<b>οι</b></td></tr>
<tr><td>Accusative</td><td>ἄνθρω<b>πον</b></td><td>ἀνθρώπ<b>ους</b></td></tr>
<tr><td rowspan="5">θάλασσ-</td><td rowspan="5">Feminine</td><td>Nominative</td><td>θάλασσ<b>a</b></td><td>θάλασσ<b>ες</b></td></tr>
<tr><td>Genitive</td><td>θαλάσσ<b>ης</b></td><td>θαλασσ<b>ῶν</b></td></tr>
<tr><td>Dative</td><td>θαλάσσ<b>ῃ</b></td><td>θαλάσσ<b>αις</b></td></tr>
<tr><td>Vocative</td><td>θάλασσ<b>a</b></td><td>θάλασσ<b>ες</b></td></tr>
<tr><td>Accusative</td><td>θάλασσ<b>αν</b></td><td>θάλασσ<b>ας</b></td></tr>
</tbody>
</table>
<h3>Summary Table of Articles by Gender and Case</h3>
<table>
<thead>
<tr>
<th>Gender</th>
<th>Case</th>
<th>Singular (Article, Ending)</th>
<th>Plural (Article, Ending)</th>
<th>English Equivalent</th>
<th>Example (Masc: λόγος, Fem: δόξα, Neut: δῶρον)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Masculine</td>
<td>Nominative</td>
<td>ὁ, -ός</td>
<td>οἱ, -οί</td>
<td>"the" (subject)</td>
<td>ὁ λόγος / οἱ λόγοι</td>
</tr>
<tr>
<td></td>
<td>Genitive</td>
<td>τοῦ, -οῦ</td>
<td>τῶν, -ῶν</td>
<td>"of the"</td>
<td>τοῦ λόγου / τῶν λόγων</td>
</tr>
<tr>
<td></td>
<td>Dative</td>
<td>τῷ, -ῷ</td>
<td>τοῖς, -οῖς</td>
<td>"to/for the"</td>
<td>τῷ λόγῳ / τοῖς λόγοις</td>
</tr>
<tr>
<td></td>
<td>Accusative</td>
<td>τόν, -όν</td>
<td>τούς, -ούς</td>
<td>"the" (object)</td>
<td>τόν λόγον / τούς λόγους</td>
</tr>
<tr>
<td></td>
<td>Vocative</td>
<td>(same as nom.), -έ</td>
<td>(same as nom.), -οί</td>
<td>"O!" (addressing)</td>
<td>ὦ λόγε / ὦ λόγοι</td>
</tr>
<tr>
<td>Feminine</td>
<td>Nominative</td>
<td>ἡ, -ά</td>
<td>αἱ, -αί</td>
<td>"the" (subject)</td>
<td>ἡ δόξα / αἱ δόξαι</td>
</tr>
<tr>
<td></td>
<td>Genitive</td>
<td>τῆς, -ῆς</td>
<td>τῶν, -ῶν</td>
<td>"of the"</td>
<td>τῆς δόξης / τῶν δόξων</td>
</tr>
<tr>
<td></td>
<td>Dative</td>
<td>τῇ, -ῇ</td>
<td>ταῖς, -αῖς</td>
<td>"to/for the"</td>
<td>τῇ δόξῃ / ταῖς δόξαις</td>
</tr>
<tr>
<td></td>
<td>Accusative</td>
<td>τήν, -άν</td>
<td>τάς, -άς</td>
<td>"the" (object)</td>
<td>τήν δόξαν / τάς δόξας</td>
</tr>
<tr>
<td></td>
<td>Vocative</td>
<td>(same as nom.), -ά</td>
<td>(same as nom.), -αί</td>
<td>"O!" (addressing)</td>
<td>ὦ δόξα / ὦ δόξαι</td>
</tr>
<tr>
<td>Neuter</td>
<td>Nominative</td>
<td>τό, -όν</td>
<td>τά, -ά</td>
<td>"the"</td>
<td>τό δῶρον / τά δῶρα</td>
</tr>
<tr>
<td></td>
<td>Genitive</td>
<td>τοῦ, -οῦ</td>
<td>τῶν, -ῶν</td>
<td>"of the"</td>
<td>τοῦ δώρου / τῶν δώρων</td>
</tr>
<tr>
<td></td>
<td>Dative</td>
<td>τῷ, -ῷ</td>
<td>τοῖς, -οῖς</td>
<td>"to/for the"</td>
<td>τῷ δώρῳ / τοῖς δώροις</td>
</tr>
<tr>
<td></td>
<td>Accusative</td>
<td>τό, -όν</td>
<td>τά, -ά</td>
<td>"the"</td>
<td>τό δῶρον / τά δῶρα</td>
</tr>
<tr>
<td></td>
<td>Vocative</td>
<td>(same as nom.), -όν</td>
<td>(same as nom.), -ά</td>
<td>"O!"</td>
<td>ὦ δῶρον / ὦ δῶρα</td>
</tr>
</tbody>
</table>
<h3>Diphthong Pronunciation Guide</h3>
<table>
<thead>
<tr>
<th>Diphthong</th>
<th>Pronunciation (IPA)</th>
<th>Example Words</th>
<th>Explanation</th>
</tr>
</thead>
<tbody>
<tr>
<td>αι</td>
<td>ai</td>
<td>αἰών (aion, "age")</td>
<td>Like the "i" in "kite."</td>
</tr>
<tr>
<td>ει</td>
<td>ei</td>
<td>εἶδος (eidos, "form")</td>
<td>Like the "ei" in "rein" or the "ay" in "say."</td>
</tr>
<tr>
<td>οι</td>
<td>oi</td>
<td>οἶκος (oikos, "house")</td>
<td>Like the "oy" in "boy."</td>
</tr>
<tr>
<td>υι</td>
<td>yi</td>
<td>υἱός (huios, "son")</td>
<td>Like "ee" in "see" with a "y" sound at the beginning.</td>
</tr>
<tr>
<td>αυ</td>
<td>au, af, av</td>
<td>αὐτός (avtos, "he/she/it")</td>
<td>The "ow" in "how.". The "af" in "after."</td>
</tr>
<tr>
<td>ευ</td>
<td>eu</td>
<td>εὐτυχία (eutychia, "happiness")</td>
<td>Like "eu" in "feud" or "ew" in "few."</td>
</tr>
<tr>
<td>ηυ</td>
<td>eu</td>
<td>ηὐτός (eutos, "he/she/it")</td>
<td>Like "eu" in "feud," but slightly softer.</td>
</tr>
<tr>
<td>ου</td>
<td>ou</td>
<td>οὐρανός (ouranos, "sky")</td>
<td>Like the "oo" in "food."</td>
</tr>
<tr>
<td>ωι</td>
<td>oi</td>
<td>ὠΐδιον (oidion, "little song")</td>
<td>Like the "oy" in "boy," but with a longer duration.</td>
</tr>
<tr>
<td>υω</td>
<td>wo</td>
<td>δύσκολος (dyskolos, "difficult")</td>
<td>Like the "wo" in "wonder."</td>
</tr>
</tbody>
</table>
</div>
</div>
<footer>
<button id="darkModeToggle" class="dark-mode-toggle">Toggle Dark Mode</button>
</footer>
<script src="quiz.js"></script>
</body>
</html>