@php $total = $totalquestion + 1; @endphp
@if($currentQuestion->image_Q) Question Image @endif

{{ $currentQuestion -> question }}

Question {{ $total }} of {{ $questions->count() }}
@csrf @foreach($answers as $ans)
@endforeach
@if ($total == $questions->count()) @elseif($nextQuestion && $total != $questions->count()) @endif @if ($total == 1) @elseif ($total > 1) PREVIOUS @endif