@if (error()) {
error {{ error() }}
} @if (success()) {
check_circle {{ success() }}
} @if (locked()) {
lock This quiz has been attempted. Questions cannot be modified.
} @if (loading()) {

Loading quiz...

} @else {
@if (!locked()) {

Questions ({{ questions().length }})

@for (q of questions(); track $index; let i = $index) {
Q{{ i + 1 }}
@for (opt of q.options; track $index; let j = $index) {
{{ ['A','B','C','D'][j] }}
}
} } }