@extends('frontend.layouts.app') @section('title', 'Quiz Result') @php $hideFooter = true; $hideHeader = true; $percentage = round($result->percentage, 2); $tier = $percentage >= 75 ? 'high' : ($percentage >= 40 ? 'mid' : 'low'); $ringOffset = 100 - max(min($percentage, 100), 0); @endphp @section('content')
{{-- Top bar --}}

{{ $contest->title }}

Result summary परिणाम सारांश

Back to contest
Score स्कोर {{ number_format($result->score, 2) }}
Correct सही {{ $result->correct_answers }}/{{ $result->total_questions }}
Wrong गलत {{ $result->wrong_answers }}
Unanswered अनुत्तरित {{ $result->unanswered }}
Submitted at जमा करने का समय {{ $result->submitted_at?->format('d M Y, h:i A') }}
@if ($showCorrectAnswers)

Answer review उत्तर समीक्षा

{{ count($answers) }} questions
@foreach ($answers as $index => $answer) @php $status = 'unanswered'; if (!empty($answer->selected_answer)) { $status = $answer->selected_answer === $answer->question->correct_answer ? 'correct' : 'wrong'; } @endphp
{{ $index + 1 }}

{{ $answer->question->question }}

{{ $answer->question->question }} @if ($answer->question->question_hi) {{ $answer->question->question_hi }} @endif

Your answer: {{ $answer->selected_answer ?: 'Not answered' }} आपका उत्तर: {{ $answer->selected_answer ?: 'उत्तर नहीं दिया' }} @if ($status !== 'correct') Correct answer: {{ $answer->question->correct_answer }} सही उत्तर: {{ $answer->question->correct_answer }} @endif
@endforeach
@endif
@endsection