@if (Session::has('error'))
{{ Session::get('error') }}
@endif
@if (session('success'))
{{ session('success') }}
@endif
{{ $quiz->title }}
@if ($quiz->limit_attempts == 'Yes' && $quiz->number_attempts <= $quiz->existing_attempts)
@else
@endif
{{ $quiz->title }}
Your response are successfully submitted.
@if ($quiz->show_score)
@endif
@if ($quiz->show_answers)
@php
$qc = 1;
$ols = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h'];
@endphp
@foreach ($questions as $question)
@php
$ac = 0;
@endphp
@foreach ($question->options as $ans)
{{ $ols[$ac] }}) {{ $ans->option }}
@php
$ac++;
@endphp
@endforeach
@php
$qc++;
@endphp
@endforeach
@endif
@if ($quiz->show_score)
@endif