diff --git a/frontend/src/routes/lesson/[slug]/QuizTab.svelte b/frontend/src/routes/lesson/[slug]/QuizTab.svelte
index b3a072b..8126ee3 100644
--- a/frontend/src/routes/lesson/[slug]/QuizTab.svelte
+++ b/frontend/src/routes/lesson/[slug]/QuizTab.svelte
@@ -124,6 +124,10 @@
Kuis dihentikan karena halaman kehilangan fokus. Skor disimpan dan percobaann tidak dapat diulang.
+ {:else if mgr.quizTerminationReason === 'page_unload'}
+
+ Kuis dihentikan karena halaman di-refresh atau ditutup. Skor disimpan dan percobaan tidak dapat diulang.
+
{/if}
{@const correct = result.correctMcq}
Skor: {correct} / {totalMcq}
@@ -196,6 +200,8 @@
{@html q.back ?? ''}
{#if !a.acknowledged}
Tidak ditandai dipahami.
+ {:else if a.understood === false}
+
❓ Siswa tidak mengerti materi ini.
{/if}
{/if}
{#if q.explanation}
@@ -211,7 +217,7 @@
{/if}
{/if}
- {#if storedAttempt && !result && showReview && reviewQuestions.length > 0}
+ {#if storedAttempt && !result && shouldShowQuizReview(storedAttempt.termination_reason) && reviewQuestions.length > 0}
Pembahasan (tersimpan)
{#each reviewQuestions as q, i}
@@ -282,21 +288,10 @@
{:else if questions.length > 0}
-
- Pertanyaan {mgr.quizCurrentIndex + 1} dari {questions.length}
-
{mgr.quizAnsweredCount} dijawab
-
-
-
{#if currentQuestion?.type === 'mcq'}
Pilih jawabanmu
-
+
{#each currentQuestion.options ?? [] as option, i}