Describe the bug
The quiz explanation feature never appears after completing a quiz. The quizCompleted variable in quiz.jsx is always set to false, so the explanation section is never shown, even when the quiz is finished.
To Reproduce
Steps to reproduce the behavior:
- Go to the Interview Quiz page
- Start and complete a quiz
- Try to view the explanation for any question
- The explanation section does not appear
Expected behavior
After finishing the quiz, I expect to see the explanation for each question, but it never shows up.
Device (please complete the following information):
- Device Type: Desktop
- OS: Windows11
- Browser chrome
Additional context
The bug is in quiz.jsx :
const quizCompleted = false; // This never changes!
Because of this, the explanation UI is always hidden.
I think the logic for tracking quiz completion needs to be fixed so users can see explanations after finishing the quiz.
Describe the bug
The quiz explanation feature never appears after completing a quiz. The quizCompleted variable in quiz.jsx is always set to false, so the explanation section is never shown, even when the quiz is finished.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After finishing the quiz, I expect to see the explanation for each question, but it never shows up.
Device (please complete the following information):
Additional context
The bug is in quiz.jsx :
const quizCompleted = false; // This never changes!
Because of this, the explanation UI is always hidden.
I think the logic for tracking quiz completion needs to be fixed so users can see explanations after finishing the quiz.