@foreach($attempt->responses as $index => $response)
Question {{ $index + 1 }}
@if($response->is_correct)
✓ Correct
@elseif($response->option_id)
✗ Incorrect
@else
⊘ Not Answered
@endif
Time: {{ $response->time_taken_seconds }}s
{{ $response->question->question }}
@foreach($response->question->options as $option)
@if($option->is_correct)
✓
@elseif($response->option_id == $option->id && !$option->is_correct)
✗
@else
○
@endif
{{ $option->option_text }}
@if($option->is_correct)
Correct Answer
@endif
@if($response->option_id == $option->id)
Your Answer
@endif
@endforeach
@if(!$response->option_id)
⚠️ You did not select an answer for this question
@endif
@endforeach