Repository navigation
Expand file tree
/
Copy pathIndex.html
More file actions
223 lines (206 loc) · 9.11 KB
/
Copy pathIndex.html
File metadata and controls
223 lines (206 loc) · 9.11 KB
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
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Talen met Rick</title>
<link rel="stylesheet" href="Index.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css">
</head>
<body>
<div id="loadingSpinner" style="display: none;" class="spinner-overlay">
<div class="spinner-container">
<div class="spinner-base"></div>
<div class="spinner-circle"></div>
<div class="spinner-text">
Loading your exercises...
</div>
</div>
</div>
<div class="top-bar">
<div class="streak-counter">
<span id="streakIcon">🔥</span>
<span id="streakCount">0</span> day streak
</div>
</div>
<div class="app-container">
<div id="main-content">
<!-- Days overview - shown by default -->
<div id="days-overview">
<div class="day-tile" onclick="showDayContent(1)">
<div>
<h2>Day 1</h2>
<p>3 exercises</p>
</div>
<div id="day1-badge" class="completion-badge">
In Progress
</div>
</div>
<div class="day-tile locked">
<div>
<h2>Day 2</h2>
<p>3 exercises</p>
<p>Requirements: Complete all Day 1 exercises</p>
</div>
<div id="day2-badge" class="completion-badge">
Locked
</div>
</div>
<div class="day-tile locked">
<div>
<h2>Day 3</h2>
<p>1 exercise</p>
<p>Requirements: Complete Day 1 & 2</p>
</div>
<div class="completion-badge">
Locked
</div>
</div>
</div>
<!-- Day 1 content -->
<div id="day1-content" style="display: none;">
<button onclick="showDaysOverview()" class="back-button">← Back to Learning Path</button>
<div class="exercise-container">
<div class="exercise">
<div class="exercise-header">
<h3>Anki Flashcards</h3>
<div id="anki-status" class="completion-badge">
Not Started
</div>
</div>
<p>Review your daily flashcards to build vocabulary.</p>
<button class="exercise-button" onclick="openSRSModal(1)">
Start Flashcards
</button>
</div>
<div class="exercise">
<div class="exercise-header">
<br>
<h3>Listening Practice</h3>
<div id="listening-status" class="completion-badge">
Not Started
</div>
</div>
<p>Watch the following video and practice your listening skills.</p>
<button class="exercise-button" onclick="openVideoModal(1)">
Watch Video
</button>
</div>
<div class="exercise">
<div class="exercise-header">
<br>
<h3>Translation Exercise</h3>
<div id="translation-status" class="completion-badge">
Not Started
</div>
</div>
<p>You need 100% to complete this step.</p>
<button class="exercise-button" onclick="openTranslationModal(1)">
Go to exercises
</button>
</div>
<div class="exercise">
<div class="exercise-header">
<br>
<h3>Reading Practice</h3>
<div id="reading-status" class="completion-badge">
Not Started
</div>
</div>
<p>Practice your reading skills with an interactive text.</p>
<button class="exercise-button" onclick="openReadingModal(1)">
Start Reading
</button>
</div>
</div>
</div>
<!-- Day 2 content -->
<div id="day2-content" style="display: none;">
<button onclick="showDaysOverview()" class="back-button">← Back to Learning Path</button>
<div class="exercise-container">
<div class="exercise">
<div class="exercise-header">
<h3>Anki Flashcards</h3>
<div id="anki-status-day2" class="completion-badge">
Not Started
</div>
</div>
<p>Review your daily flashcards focused on basic conversations.</p>
<button class="exercise-button" onclick="openSRSModal(2)">
Start Flashcards
</button>
</div>
<div class="exercise">
<div class="exercise-header">
<br>
<h3>Listening Practice</h3>
<div id="listening-status-day2" class="completion-badge">
Not Started
</div>
</div>
<p>Watch this video about common Spanish conversations.</p>
<button class="exercise-button" onclick="openVideoModal(2)">
Watch Video
</button>
</div>
<div class="exercise">
<div class="exercise-header">
<br>
<h3>Translation Exercise</h3>
<div id="translation-status-day2" class="completion-badge">
Not Started
</div>
</div>
<p>Practice translating basic conversations. You need 100% to complete this step.</p>
<button class="exercise-button" onclick="openTranslationModal(2)">
Go to exercises
</button>
</div>
<div class="exercise">
<div class="exercise-header">
<br>
<h3>Reading Practice</h3>
<div id="reading-status-day2" class="completion-badge">
Not Started
</div>
</div>
<p>Continue improving your reading skills with new texts.</p>
<button class="exercise-button" onclick="openReadingModal(2)">
Start Reading
</button>
</div>
</div>
</div>
<!-- SRS Modal -->
<div id="srsModal" class="modal">
<button class="back-button" onclick="closeSRSModal()">
← Back to exercises
</button>
<iframe id="srsFrame" src="" frameborder="0"></iframe>
</div>
<!-- Video Modal -->
<div id="videoModal" class="modal">
<button class="back-button" onclick="closeVideoModal()">
← Back to exercises
</button>
<iframe id="videoFrame" src="" frameborder="0"></iframe>
</div>
<!-- Reading Modal -->
<div id="readingModal" class="modal">
<button class="back-button" onclick="closeReadingModal()">
← Back to exercises
</button>
<iframe id="readerFrame" src="" frameborder="0"></iframe>
</div>
<!-- Translation Exercise Modal -->
<div id="translationModal" class="modal">
<button class="back-button" onclick="closeTranslationModal()">
← Back to exercises
</button>
<iframe id="translationFrame" src="" frameborder="0"></iframe>
</div>
</div>
</div>
<script src="Index.js"></script>
</body>
</html>