Big Data Institute
@php $total = $totalquestion + 1; @endphp
@if($currentQuestion->image_Q)
@endif
{{ $currentQuestion -> question }}
Question {{ $total }} of {{ $questions->count() }}
@csrf
@foreach($answers as $ans)
@if($currentQuestion->type === 'multi')
id, explode(',', $selectedAnswer))) checked @endif> @else
id) checked @endif> @endif {{$ans->answer}}
@endforeach
@if ($total == $questions->count())
Submit
@elseif($nextQuestion && $total != $questions->count())
NEXT
@endif @if ($total == 1) @elseif ($total > 1)
PREVIOUS
@endif