Completed Questions

All exam problems solved by the student

@if(isset($course_name) && $course_name)
{{ $course_name }}
@endif
{{ count($completedexams) }} Questions
@if(count($completedexams) > 0)
@foreach($completedexams as $index => $exam)
{{ $index + 1 }}

{{ $exam->title ?? 'Untitled Question' }}

@php $difficultyColors = [ 'easy' => ['bg' => '#065f46', 'text' => '#34d399'], 'medium' => ['bg' => '#92400e', 'text' => '#f59e0b'], 'hard' => ['bg' => '#991b1b', 'text' => '#f87171'] ]; $level = $exam->level ?? 'easy'; $colors = $difficultyColors[$level] ?? $difficultyColors['easy']; @endphp
Level: {{ ucfirst($level) }}
Submited Time : {{ $report->submitedtime ?? 'Untitled Question' }}
@endforeach
@else

No Questions Completed

This student hasn't completed any questions for this Eaxm yet.

@endif