@if($question['answer_type']!='textarea') {{---====Question check type 55======----}}
@foreach ($question['options'] as $index => $option)
@if($option['option_type'] !='textarea')
@if($option['answer']) {{-----==Correct answer if==------}}
{{ chr(65 + $index) }}. {!! backHelper::updateQuestionOptionText($option['option_text']) !!} Correct Answer
@else {{-----==Correct answer else==------}}
{{ chr(65 + $index) }}. {!! backHelper::updateQuestionOptionText($option['option_text']) !!} @if($option['is_selected'])Your Answer @endif
@endif {{-----==Correct answer endif==------}}
@else {{-----===else Tag of Check Condtion TextArea type or not==-----}}
@php dd("here"); @endphp
@if($option['answer']) {{-----==Correct answer if==------}}
{{ chr(65 + $index) }}. {!! backHelper::updateQuestionOptionText($option['option_text']) !!} Correct Answer
@else {{-----==Correct answer else==------}}
{{ chr(65 + $index) }}. {!! backHelper::updateQuestionOptionText($option['option_text']) !!}
@endif {{-----==Correct answer endif==------}}
@endif {{-----===End Tag of Check Condtion TextArea type or not==-----}}
@endforeach
@else {{---====Question check type if textarea then excute this else 55======----}}
@php $plainText = strip_tags($question['subjective_ans']);
$user_answers=$question['user_answer'];
if($plainText==$user_answers){ $is_correct_answer=1; }else{ $is_correct_answer=0; }
@endphp
@if($is_correct_answer)
{!! $question['subjective_ans'] !!}
@else
{!! $question['subjective_ans'] !!}
@endif
@endif {{---====Question check type if textarea then excute this end 55======----}}