-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
3793 lines (3732 loc) · 104 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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html>
<head>
<title>Latin Vocabulary Tester</title>
<link rel="icon" href="./assets/favicon.png" type="image/png" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="author" content="Aurorum" />
<meta
name="keywords"
content="Latin, Vocabulary, Declensions, Latin Declensions Tester, Conjugations, OCR, A-Level, Eduqas, GCSE, Vocab, Cambridge Latin Course, Latin Vocab Tester, Resources"
/>
<meta
name="description"
content="Provides a way to test your knowledge of the GCSE and A-Level Latin vocabulary list, along with a Noun Declension & Verb Conjugation Tester with both a competitive leaderboard and a practice mode."
/>
<meta property="og:title" content="Latin Vocabulary Tester" />
<meta property="og:type" content="website" />
<meta
property="og:description"
content="Provides a way to test your knowledge of the GCSE and A-Level Latin vocabulary list, along with a Noun Declension & Verb Conjugation Tester with both a competitive leaderboard and a practice mode."
/>
<meta property="og:url" content="https://latinvocabularytester.com" />
<meta
property="og:image"
content="https://latinvocabularytester.com/assets/screenshots/screenshot-1.png"
/>
<script type="text/javascript" src="./scripts.js"></script>
<link rel="stylesheet" type="text/css" href="./style.css" />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap"
rel="stylesheet"
/>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-1QZXG1GX8M"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push( arguments );
}
gtag( 'js', new Date() );
gtag( 'config', 'G-1QZXG1GX8M' );
</script>
<link rel="apple-touch-icon" href="assets/appleIcon.png" />
<meta name="theme-color" content="#1b2b63" />
<link rel="manifest" href="manifest.json" />
</head>
<body>
<div class="loading-screen" id="loading">
<div class="loading-screen-wrapper">
<img src="./assets/gladiator.svg" alt="" />
<div class="progress-bar">
<div class="inner-progress"></div>
<noscript>
<p class="no-script-message">
You need to enable JavaScript to use the Latin Vocabulary Tester
</p>
</noscript>
</div>
</div>
</div>
<div id="curtain" class="curtain is-not-triggered"></div>
<div class="header">
<div class="heading">
<h1>Latin Vocabulary Tester</h1>
</div>
<p id="practise-mode-prompt" class="practise-prompt">
You are in <span id="current-mode">Practice</span> mode! Switch to
<a id="switch-to-mode" onclick="switchMode()">Competitive mode</a>.
</p>
<div class="top-footer-toggle" onclick="toggleFooter(true)"></div>
<a class="footer-collapse collapsed" onclick="toggleFooter(true)">
<svg
alt="Expand footer"
xmlns="http://www.w3.org/2000/svg"
height="24"
viewBox="0 -960 960 960"
width="24"
>
<path
d="m480-340 180-180-57-56-123 123-123-123-57 56 180 180Zm0 260q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"
/>
</svg>
</a>
</div>
<div id="option" class="options-menu">
<div class="quick-links">
<a class="not-mute heightened" onclick="muteAudio()"
><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M561.539-155.617v-61.999q86.538-27.538 139.422-100Q753.846-390.077 753.846-481q0-90.923-52.885-163.384-52.884-72.462-139.422-100v-61.999Q673.23-776.46 743.537-686.46q70.307 89.999 70.307 205.46 0 115.461-70.307 205.46-70.307 90-181.998 119.923ZM146.156-380.001v-199.998h148.46l171.537-171.536v543.07L294.616-380.001h-148.46Zm415.383 46.154v-294.306q40.461 22 62.537 61.961Q646.153-526.23 646.153-480q0 45.615-22.269 84.884t-62.345 61.269Z"
/></svg
></a>
<a class="mute heightened" onclick="muteAudio()"
><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M778.922-74.463 658.307-195.078q-20.769 13.307-43.769 23.076-22.999 9.769-47.614 16.385v-61.999q12.846-4.615 24.999-9.423 12.154-4.807 23-11.423L471.538-381.847v173.382L300.001-380.001h-148.46v-199.998h121.845L79.848-773.537 122-815.69l699.074 699.074-42.153 42.153Zm-19.539-216.23-42.999-42.998q20.846-32.539 31.847-69.808 11-37.27 11-77.501 0-90.923-52.885-163.384-52.884-72.462-139.422-100v-61.999Q679-776.46 749.114-686.46q70.115 89.999 70.115 205.46 0 52.615-15.654 101.038-15.654 48.423-44.192 89.269Zm-122.461-122.46-69.998-69.999v-145.001q40.461 22 62.537 61.961Q651.538-526.23 651.538-480q0 17.693-3.654 34.5-3.654 16.808-10.962 32.347ZM471.538-578.537l-86.307-86.692 86.307-86.306v172.998Z"
/></svg
></a>
<a onclick="openAboutModal()"
><svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M440-280h80v-240h-80v240Zm40-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"
/></svg
></a>
<a onclick="toggleFooter()">
<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24">
<path
d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-240h560v-400H200v400Zm0 80v80h560v-80H200Zm0 0v80-80Z"
/>
</svg>
</a>
</div>
<div class="reset-test-option">
<a onclick="resetTest()">Reset test</a>
</div>
<div class="course-options">
<a class="alevelocrlink" onclick="changeOption('alevelocr')">A-level (OCR)</a>
<a class="gcseeduqaslink" onclick="changeOption('gcseeduqas')">GCSE (Eduqas)</a>
<a class="gcseocrlink" onclick="changeOption('gcseocr')">GCSE (OCR)</a>
<a class="clclink" onclick="changeOption('clc')">CLC</a>
<a class="customlistlink" onclick="changeOption('custom-list')">Custom</a>
</div>
</div>
<div id="vocab-tester-wrapper" class="main-content">
<div class="left-content">
<div id="leaderboard" class="leaderboard-wrapper">
<p><strong>Declensions Leaderboard:</strong></p>
<ol>
<li id="first-declensions-leaderboard-0">Loading...</li>
<li id="first-declensions-leaderboard-1">Loading...</li>
<li id="first-declensions-leaderboard-2">Loading...</li>
</ol>
<p><strong>Vocabulary Leaderboard:</strong></p>
<ol>
<li id="first-vocabulary-leaderboard-0">Loading...</li>
<li id="first-vocabulary-leaderboard-1">Loading...</li>
<li id="first-vocabulary-leaderboard-2">Loading...</li>
</ol>
<p><strong>Conjugations Leaderboard:</strong></p>
<ol>
<li id="first-conjugations-leaderboard-0">Loading...</li>
<li id="first-conjugations-leaderboard-1">Loading...</li>
<li id="first-conjugations-leaderboard-2">Loading...</li>
</ol>
</div>
<div class="flashcard-settings">
<h3>Flashcard settings</h3>
<div class="toggle">
<p class="difficulty-text">Display Latin word first</p>
<label class="switch">
<input
id="flashcard-setting-switch"
onclick="buildFlashcard()"
type="checkbox"
checked
/>
<span class="slider round"></span>
</label>
</div>
<p class="flashcard-links">
<a onclick="shuffleFlashcards()">Shuffle flashcards</a>
<a id="flashcard-keyboard-shortcut-prompt" onclick="toggleFlashcardShortcutsGuide()"
>View keyboard shortcuts</a
>
</p>
<div
id="flashcard-keyboard-shortcuts"
class="flashcard-keyboard-shortcuts-guide is-inactive"
>
<h3>Keyboard Shortcuts</h3>
<ul>
<li>Enter key: flip flashcard</li>
<li>Right arrow key: next flashcard</li>
<li>Left arrow key: previous flashcard</li>
<li>S key: star or unstar flashcard</li>
</ul>
</div>
</div>
<div class="incorrect-words">
<div class="focus-on-wrapper">
<h3 id="focus-on-title">Words to focus on</h3>
<p id="focus-on-description">
A list of words either entered incorrectly or for which the answer was revealed:
</p>
</div>
<ul id="wrong-vocab" class="wrong-vocab-list">
<li id="no-words-wrong">None so far - well done!</li>
</ul>
<p id="export-incorrect-vocab-sidebar" class="export-sidebar-prompt-wrapper">
<a
id="export-sidebar-prompt"
download="latin-incorrect-vocabulary"
onclick="exportIncorrectVocab()"
class="sidebar-prompt"
>
Export incorrect words
</a>
</p>
<p id="clear-saved-vocab-sidebar" class="clear-sidebar-prompt-wrapper">
<a class="sidebar-prompt" onclick="clearSavedFlashcards()"> Clear all starred words </a>
</p>
</div>
<div class="select-verbs-wrapper">
<h3>Select verb types to practise</h3>
<div
onclick="constructWordTable(true)"
id="verb-type-table-mode-menu"
class="table-mode-menu"
>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button is-selected"
id="prind-button"
>
Present indicative
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="imind-button"
>
Imperfect indicative
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="pfind-button"
>
Perfect indicative
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="plind-button"
>
Pluperfect indicative
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="ftind-button"
>
Future indicative
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="fpind-button"
>
Future perfect indicative
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="prsuj-button"
>
Present subjunctive
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="imsuj-button"
>
Imperfect subjunctive
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="pfsuj-button"
>
Perfect subjunctive
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="plsuj-button"
>
Pluperfect subjunctive
</button>
<button
onclick="handleWordTableSelection(this)"
class="verb-table-option-button"
id="other-verbs-button"
>
Other
</button>
</div>
<div class="select-verbs">
<div class="indicative">
<div class="verb-selection-toggle">
<p><strong>Indicative verbs</strong></p>
<img
src="./assets/dropdown-white.svg"
class="dropdown"
alt="Dropdown"
onclick="toggleRow(this)"
/>
</div>
<div class="indicative-toggle-wrapper">
<div class="verb-toggle-group">
<div class="toggle">
<p>Present active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-pracind"
/>
</div>
<div class="toggle">
<p>Imperfect active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-impacind"
/>
</div>
<div class="toggle">
<p>Perfect active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-pfacind"
/>
</div>
<div class="toggle">
<p>Pluperfect active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-placind"
/>
</div>
<div class="toggle">
<p>Future active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-ftacind"
/>
</div>
<div class="toggle">
<p>Future perfect active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-fpacind"
/>
</div>
</div>
<div class="verb-toggle-group">
<div class="toggle verb-division">
<p>Imperatives</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-imp"
/>
</div>
<div class="toggle">
<p>Infinitives</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-inf"
/>
</div>
<div class="toggle">
<p>Participles</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-par"
/>
</div>
</div>
<div class="verb-toggle-group">
<div class="toggle verb-division">
<p>Present passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-prpaind"
/>
</div>
<div class="toggle">
<p>Imperfect passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-imppaind"
/>
</div>
<div class="toggle">
<p>Perfect passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-pfpaind"
/>
</div>
<div class="toggle">
<p>Future passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-ftpaind"
/>
</div>
<div class="toggle">
<p>Future perfect passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-fppaind"
/>
</div>
<div class="toggle">
<p>Pluperfect passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-plpaind"
/>
</div>
</div>
</div>
</div>
<div class="subjunctive">
<div class="verb-selection-toggle">
<p><strong>Subjunctive verbs</strong></p>
<img
src="./assets/dropdown-white.svg"
class="dropdown"
alt="Dropdown"
onclick="toggleRow(this)"
/>
</div>
<div class="subjunctive-toggle-wrapper">
<div class="verb-toggle-group">
<div class="toggle">
<p>Present active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-pracsuj"
/>
</div>
<div class="toggle">
<p>Imperfect active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-impacsuj"
/>
</div>
<div class="toggle">
<p>Perfect active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-pfacsuj"
/>
</div>
<div class="toggle">
<p>Pluperfect active</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-placsuj"
/>
</div>
</div>
<div class="verb-toggle-group">
<div class="toggle verb-division">
<p>Present passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-prpasuj"
/>
</div>
<div class="toggle">
<p>Imperfect passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-imppasuj"
/>
</div>
<div class="toggle">
<p>Perfect passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-pfpasuj"
/>
</div>
<div class="toggle">
<p>Pluperfect passive</p>
<input
type="checkbox"
checked
onclick="handleVerbSelection(this)"
id="verbs-plpasuj"
/>
</div>
</div>
</div>
<div class="toggle singular-only-option">
<p>
Try first-person and<br />
singular verbs only
</p>
<input
type="checkbox"
onclick="buildDeclensionOrConjugationTest(true)"
id="verbs-fps-option"
/>
</div>
</div>
</div>
<p id="verbs-warning" class="start-verbs-warning">
Error: you are required to select at least one verb type.
</p>
</div>
<div class="select-declensions-wrapper">
<h3>Select declensions and cases</h3>
<div class="select-declensions">
<div class="noun-types">
<div class="toggle">
<p>First declension</p>
<input
type="checkbox"
checked
onclick="handleNounSelection(this)"
id="declensions-noun-1"
/>
</div>
<div class="toggle">
<p>Second declension</p>
<input
type="checkbox"
checked
onclick="handleNounSelection(this)"
id="declensions-noun-2"
/>
</div>
<div class="toggle">
<p>Third declension</p>
<input
type="checkbox"
checked
onclick="handleNounSelection(this)"
id="declensions-noun-3"
/>
</div>
<div class="toggle">
<p>Fourth declension</p>
<input
type="checkbox"
checked
onclick="handleNounSelection(this)"
id="declensions-noun-4"
/>
</div>
<div class="toggle">
<p>Fifth declension</p>
<input
type="checkbox"
checked
onclick="handleNounSelection(this)"
id="declensions-noun-5"
/>
</div>
<div class="other-toggles-wrapper">
<div class="toggle other neuter">
<p>Remove neuter nouns</p>
<input
type="checkbox"
onclick="handleNounSelection(this)"
id="declensions-neuter"
/>
</div>
<div class="toggle other inset">
<p>Remove '-er' nouns</p>
<input
type="checkbox"
onclick="handleNounSelection(this)"
id="declensions-noun-2-remove-er"
/>
</div>
</div>
</div>
<div class="case-types">
<div class="toggle">
<p>Nominative</p>
<input
type="checkbox"
checked
onclick="handleCaseSelection(this)"
id="cases-nominative"
/>
</div>
<div class="toggle">
<p>Vocative</p>
<input
type="checkbox"
checked
onclick="handleCaseSelection(this)"
id="cases-vocative"
/>
</div>
<div class="toggle">
<p>Accusative</p>
<input
type="checkbox"
checked
onclick="handleCaseSelection(this)"
id="cases-accusative"
/>
</div>
<div class="toggle">
<p>Genitive</p>
<input
type="checkbox"
checked
onclick="handleCaseSelection(this)"
id="cases-genitive"
/>
</div>
<div class="toggle">
<p>Dative</p>
<input
type="checkbox"
checked
onclick="handleCaseSelection(this)"
id="cases-dative"
/>
</div>
<div class="toggle">
<p>Ablative</p>
<input
type="checkbox"
checked
onclick="handleCaseSelection(this)"
id="cases-ablative"
/>
</div>
</div>
</div>
<p id="declensions-warning" class="start-declensions-warning">
Error: you are required to select at least one declension and case.
</p>
</div>
<div class="countdown-clock-circle">
<h2 id="countdown-clock-time-left">120</h2>
<svg width="160" height="160" xmlns="https://www.w3.org/2000/svg">
<g>
<circle
id="countdown-clock-circle"
class="countdown-clock-circle-animation"
r="69.85699"
cy="81"
cx="81"
stroke-width="8"
stroke="#6fdb6f"
fill="none"
/>
</g>
</svg>
</div>
</div>
<div class="right-content">
<div id="vocab-test-competition" class="competition-introduction">
<p id="competition-countdown" class="competition-countdown">5</p>
<p id="competition-correction"></p>
<p class="competition-warning">
You have <strong>two minutes</strong> to <span id="competition-challenge"></span>! If
you get one wrong, your attempt will be over.
</p>
<p class="competition-leaderboard-text-success">
Congratulations! Enter your name below to be included on the Leaderboard - your name
will only appear if you are in the top three.
</p>
<p class="competition-leaderboard-text-fail">
Unfortunately, you need a score of
<strong id="competition-leaderboard-text-score"></strong> to be added to the Leaderboard
- good luck next time! You can <a onclick="resetTest()">try again</a>.
</p>
<p class="show-word-table-toggle show-word-table-toggle-competition">
<a id="word-table-prompt-competitive" onclick="toggleWordTable(true)">Show table</a>
</p>
</div>
<div id="vocab-test-end-competition" class="competition-conclusion">
<div id="submit-name" class="leaderboard-submit-name">
<input type="text" id="leaderboard-name-input" maxlength="20" placeholder="Caecilius" />
<div class="options-wrapper compact-options">
<button class="option-button" onclick="leaderboardSubmitName()">
<img class="laurel-image" src="./assets/laurel.svg" alt="" />
<p id="leaderboard-button-submit">Submit name</p>
</button>
</div>
</div>
<p class="leaderboard-submit-success">
Your name has been successfully submitted!
<span>
It will be verified to ensure it's appropriate, then it will be added to the
Leaderboard.
</span>
</p>
<p id="leaderboard-valid-name-warning" class="valid-name-warning">
Error: please enter a valid name which you would like to appear on the Leaderboard.
</p>
<div id="grammar-info-competition" class="submitted-grammar-info">
<img src="./assets/gladiator.svg" alt="" />
<p>
Tip: you entered the <strong><span id="grammar-form-competition"></span></strong> of
this <span id="grammar-type-competition"></span>!
</p>
</div>
</div>
<div id="vocab-flashcards" class="vocab-flashcards-wrapper">
<a id="star-flashcard" onclick="starFlashcard()" class="flashcard-star-button">
<svg viewBox="0 0 24 24" class="star-gridicon">
<g>
<path
d="M12,6.308l1.176,3.167l0.347,0.936l0.997,0.041l3.374,0.139l-2.647,2.092l-0.784,0.62l0.27,0.962l0.911,3.249l-2.814-1.871
L12,15.09l-0.83,0.552l-2.814,1.871l0.911-3.249l0.27-0.962l-0.784-0.62L6.105,10.59l3.374-0.139l0.997-0.041l0.347-0.936L12,6.308
M12,2L9.418,8.953L2,9.257l5.822,4.602L5.82,21L12,16.891L18.18,21l-2.002-7.141L22,9.257l-7.418-0.305L12,2L12,2z"
></path>
</g>
</svg>
<svg viewBox="0 0 24 24" class="filled-star-gridicon">
<g>
<polygon
points="12,2 14.582,8.953 22,9.257 16.178,13.859 18.18,21 12,16.891 5.82,21 7.822,13.859 2,9.257 9.418,8.953"
></polygon>
</g>
</svg>
</a>
<div id="flashcard" class="flashcard-container" number="0" onclick="flipFlashcard()">
<div class="front-flashcard"><p id="front-flashcard">Front Side</p></div>
<div class="back-flashcard"><p id="back-flashcard">Back Side</p></div>
</div>
<p class="previous-list-flashcard-message">
This is a saved card from a previous list.
<a onclick="buildFlashcard()">Return to current list.</a>
</p>
<div class="flashcard-settings-wrapper">
<p id="flashcard-count" class="flashcard-counter"></p>
<div class="flashcard-arrows">
<a
id="left-flashcard-button"
onclick="buildFlashcard('previous')"
class="flashcard-option-button"
><svg viewBox="0 0 24 24" class="arrow-gridicon">
<g><path d="M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586"></path></g></svg
></a>
<a
id="right-flashcard-button"
onclick="buildFlashcard('next')"
class="flashcard-option-button"
><svg viewBox="0 0 24 24" class="arrow-gridicon">
<g><path d="M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586"></path></g></svg
></a>
</div>
</div>
</div>
<div id="vocab-tester" class="vocab-tester-wrapper">
<div class="progress-wrapper">
<div class="progress-bar">
<div class="inner-progress" id="progress-bar-content" style="width: 0%"></div>
</div>
<p class="progress-indicator">
<span id="progress-indicator-changing">0</span
><span id="progress-indicator-slash">/</span>
<span id="progress-indicator-set"></span>
</p>
</div>
<div class="vocab-submit-answer-wrapper">
<div class="vocab-answer-margin">
<strong><p id="vocab-question"></p></strong>
<p id="vocab-question-details"></p>
<p id="wrong-answer" style="display: none">Not quite - try again!</p>
<p class="vocab-submit-prompt">
Enter the <span id="vocab-submit-first-person-warning"></span
><span id="vocab-submit-word-form">root meaning</span> in the box below:
</p>
</div>
<input
type="text"
id="vocab-answer"
autocomplete="off"
autocorrect="off"
autocapitalize="off"
spellcheck="false"
placeholder="Type answer"
/>
<div class="vocab-submit-buttons">
<input
type="submit"
class="reveal-answer-button"
id="reveal-answer"
value="Reveal"
onclick="checkAnswer(true)"
/>
<input
type="submit"
class="submit-answer-button"
value="Submit"
onclick="checkAnswer(false)"
/>
</div>
<div id="grammar-info" class="submitted-grammar-info">
<img src="./assets/gladiator.svg" alt="" />
<p>
Tip: you entered the <strong><span id="grammar-form"></span></strong> of this
<span id="grammar-type"></span>!
</p>
</div>
</div>
<p id="vocab-times-wrong" class="times-wrong">
Incorrectly answered: <span id="vocab-incorrect-count">0</span> times
</p>
<p class="show-word-table-toggle">
<a onclick="toggleTableMode()">Switch to table mode</a>
<a id="word-table-prompt" onclick="toggleWordTable(true)">Show table</a>
</p>
</div>
<div id="complete" class="celebration">
<div class="confetti">
<img src="./assets/confetti.svg" width="150" />
</div>
<h3>Congratulations - you've completed all <span id="celebration-word-count"></span>!</h3>
<p id="retry-test-prompt" class="try-retest-prompt is-inactive">
Click the button below if you'd like to focus on the incorrectly answered words!
<a
id="export-prompt"
download="latin-incorrect-vocabulary"
onclick="exportIncorrectVocab()"
class="export-prompt"
>
Export incorrect words.
</a>
</p>
<div class="complete-actions options-wrapper compact-options">
<button
id="retry-test-button"
class="option-button is-inactive"
onclick="startRetryTest()"
>
<img src="./assets/scroll.svg" alt="" />
<p>Try incorrect words</p>
</button>
<button class="option-button" onclick="resetTest()">
<img src="./assets/helmet.svg" alt="" />
<p>Reset test</p>
</button>
</div>
<div class="retry-prompts">
<p class="retry-remove-prompt">
<strong>About to re-attempt incorrect words?</strong> Click
<a onclick="removeCorrectRetries()">here</a> to remove the
<span id="retry-count"></span> that you just translated correctly.
</p>
<p class="retry-remove-notice">
You've removed <span id="retry-remove-count"></span> from the test. That leaves
<span id="retry-remain-count"></span> to correctly answer!
</p>
<p class="retry-complete-notice">
Nice work! You've correctly translated all the words which you originally didn't know.
</p>
</div>
<p class="retry-reset-focus-prompt">
<a onclick="replaceCorrectRetries()">Reset list of words to focus on</a>
</p>
</div>
</div>
<div class="further-content" id="word-table">
<h3>Grammar tables</h3>
<div class="noun-table">
<table>
<thead>
<tr>
<th></th>
<th>Singular</th>
<th>Plural</th>
</tr>
</thead>
<tbody>
<tr>
<td>Nom.</td>
<td id="noms-slot"></td>
<td id="nomp-slot"></td>
</tr>
<tr>
<td>Voc.</td>
<td id="vocs-slot"></td>
<td id="vocp-slot"></td>
</tr>
<tr>
<td>Acc.</td>
<td id="accs-slot"></td>
<td id="accp-slot"></td>
</tr>
<tr>
<td>Gen.</td>
<td id="gens-slot"></td>
<td id="genp-slot"></td>
</tr>
<tr>
<td>Dat.</td>
<td id="dats-slot"></td>
<td id="datp-slot"></td>
</tr>
<tr>
<td>Abl.</td>
<td id="abls-slot"></td>
<td id="ablp-slot"></td>
</tr>
</tbody>
</table>
</div>
<div class="verb-tables">
<div class="toggle verb-table-select-wrapper word-table-select-wrapper">
<p>Select table</p>
<select onchange="constructWordTable(true)" id="verb-type-table-select" size="1">
<option value="prind-table">Present indicative</option>
<option value="imind-table">Imperfect indicative</option>
<option value="pfind-table">Perfect indicative</option>
<option value="plind-table">Pluperfect indicative</option>
<option value="ftind-table">Future indicative</option>
<option value="fpind-table">Future perfect indicative</option>
<option value="prsuj-table">Present subjunctive</option>
<option value="imsuj-table">Imperfect subjunctive</option>
<option value="pfsuj-table">Perfect subjunctive</option>
<option value="plsuj-table">Pluperfect subjunctive</option>
<option value="other-verbs-table">Other</option>
</select>
</div>
<p id="vocab-question-table-mode"></p>
<p id="vocab-question-table-mode-details"></p>
<div id="prind-table" class="verb-table">
<p class="table-mode-prompt">
Conjugate the <strong>present indicative</strong> in the table below
</p>
<p class="verb-table-title">Present indicative</p>
<table>
<thead>
<tr>
<th></th>
<th>Active</th>
<th>Passive</th>
</tr>
</thead>
<tbody>
<tr>
<td>Sing.</td>
<td></td>
<td></td>