@include('layouts.shared/title-meta', ['title' => 'Form']) @include('layouts.shared/head-css', ['mode' => $mode ?? '', 'demo' => $demo ?? ''])
processing...
@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)

You have already submitted the Quiz for the maximum number of times allowed.

@else
@csrf @php $qc = 1; $ols = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h']; @endphp @foreach ($questions as $question)

{{ $qc }}) {{ $question->question }}

@php $ac = 0; @endphp @foreach ($question->options as $ans)
@php $ac++; @endphp @endforeach @php $qc++; @endphp @endforeach
@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)

{{ $qc }}) {{ $question->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
@include('layouts.shared/footer-script')