{{-- RESULTS LIST --}}

Result History

Exam History

{{ $results->count() }} result{{ $results->count() === 1 ? '' : 's' }} found

Reset
@if($results->count() === 0)

📭

You have not attempted any exams yet.

Once you complete a test, it will appear here.

Browse Tests →
@else
@foreach($results as $result) @php $exam = $result->exam; $passed = $result->status === 'Pass'; $percent = (float) $result->percentage; $percentClass = $percent >= 75 ? 'text-green-400' : ($percent >= 40 ? 'text-yellow-400' : 'text-red-400'); @endphp
{{-- Left: exam info --}}
@if($exam) {{ $exam->exam_type }} @endif @if($exam && $exam->subject && $exam->subject !== 'All Subjects') 📚 {{ $exam->subject }} @endif @if($exam && $exam->difficulty_level) {{ $exam->difficulty_level }} @endif @if($result->status) {{ $passed ? '✓ Pass' : '✗ Fail' }} @endif

{{ $exam->title ?? 'Exam unavailable' }}

📅 Submitted {{ $result->created_at->format('d M Y, h:i A') }}

✓ {{ $result->correct ?? 0 }} correct ✗ {{ $result->wrong ?? 0 }} wrong ⊘ {{ $result->not_attempted ?? 0 }} skipped
{{-- Middle: score --}}

0%

{{ number_format($result->obtained_marks, 1) }} / {{ number_format($result->total_marks, 1) }} marks

{{-- Right: action --}}
@if($exam) View Detail → @else Unavailable @endif
{{-- Progress bar --}}
@endforeach
@endif