quiz
{{ allQuestions().length }}
Total Questions
check_circle
{{ correctCount() }}
Correct
cancel
{{ incorrectCount() }}
Incorrect
emoji_events
{{ results()!.percentage }}%
Score
@for (question of paginatedQuestions(); track question.questionId; let i = $index) {
{{ question.questionText }}
Your Answer:
{{ formatAnswer(question.userAnswer) || 'Not answered' }}
@if (!question.isCorrect) {
close
} @else {
check
}
@if (!question.isCorrect) {
Correct Answer:
{{ formatAnswer(question.correctAnswer) }}
check
}
@if (question.explanation) {
{{ question.explanation }}
}
@if (question.timeSpent) {
schedule
Time spent: {{ question.timeSpent }}s
}
}
@if (paginatedQuestions().length === 0) {
info
No questions match the selected filter
}
@if (totalQuestions() > pageSize()) {
}
}