{{ $question->question_text }}
@if($isBilingual && $question->question_text_en){{ $question->question_text_en }}
@endif-
@foreach($question->options as $optIndex => $option)
@php
$isSelected = $selectedOptionId === $option->id;
$isCorrect = $option->id === $correctOptionId;
@endphp
-
{{ chr(65 + $optIndex) }}
{{ $option->option_text }}@if($isBilingual && $option->option_text_en){{ $option->option_text_en }}@endif@if($isCorrect) Correct @endif @if($isSelected) Your Answer @endif
@endforeach
💡 Explanation
@if($question->explanation){{ $question->explanation }}
@endif @if($isBilingual && $question->explanation_en){{ $question->explanation_en }}
@endif