@if($fullscreen)
@endif SSIT-Tesly {{ strtoupper($language) }} Compiler
{{-- QUESTION NAVIGATION BAR --}}
{{-- Question Number Buttons --}}
@for ($i = 0; $i < $total_questions; $i++) @php // Check if this question is submitted FROM DATABASE $isSubmitted = DB::table('examreport') ->where('examid', $exam_id) ->where('questionid', $questions[$i]->id) ->where('student_id', $student['id']) ->exists(); $btnClass = ''; if ($current_index === $i) { $btnClass = $isSubmitted ? 'bg-blue-600 text-white' : 'bg-green-600 text-white'; } else { $btnClass = $isSubmitted ? 'question-completed' : 'bg-gray-200 text-gray-800 hover:bg-gray-300'; } @endphp @endfor
{!! $question !!}
šŸ’» SSIT-TESLY {{ strtoupper($language) }} Code Editor
00:00 Copied! @include('student.exam.compiler.components.ping-tester')

@if(isset($i1) && $i1 !== null) @endif @if(isset($i2) && $i2 !== null) @endif @if(isset($i3) && $i3 !== null) @endif @if(isset($i4) && $i4 !== null) @endif
@if($is_submitted)

Question submitted successfully!

@else @endif

šŸ“¤ Output

Output here...
@include('student.exam.compiler.components.calculator')