@include('frontend.layouts.header')
@foreach($virtualExp->virtual_exp_what_will_you_learns as $key=> $virtual_exp_what_will_you_learn)
@if($virtual_exp_what_will_you_learn->id <$firstVirtualExpWhatWillYouLearn->id) @else {{$key+1}} @endif

{{$virtual_exp_what_will_you_learn->title}}

{{$virtual_exp_what_will_you_learn->description}}

@php $svgname=""; if($virtual_exp_what_will_you_learn->difficulty_level->difficulty_level=="Advance"){ $svgname="advance.svg"; }else if($virtual_exp_what_will_you_learn->difficulty_level->difficulty_level=="Intermediate"){ $svgname="intermediate.svg"; }else{ $svgname="begin.svg"; } @endphp
@endforeach
@csrf
@foreach($firstVirtualExpWhatWillYouLearn->task_questions as $key=> $task_question)

{{$task_question->title}}

{{$task_question->question_text}}

{!!$task_question->description!!}
@if($task_question->video) @php $fileName = basename($task_question->video); $videoName = 'https://video.unocuepro.com/play-vwep-task-video/' . $fileName; @endphp

{{$task_question->video_title}}

@endif @if(count($task_question->taskQuestionFiles)>0)
@if($task_question->question_file_title !='')

{{$task_question->question_file_title}}

@else

Resources

@endif
@foreach($task_question->taskQuestionFiles as $task_question_file) @php $url =$task_question_file->uploaded_file; $extension = pathinfo(parse_url($url, PHP_URL_PATH), PATHINFO_EXTENSION); $icon=''; if($extension==='docx'){ $icon='assets/images/vwep/docx.svg'; }else if($extension==='pdf'){ $icon='assets/images/vwep/pdf.svg'; }else if($extension==='txt'){ $icon='assets/images/vwep/txt.svg'; }else{ $icon='assets/images/uploadfile.svg'; } @endphp @endforeach
@endif
@if($task_question->question_type =="file_upload")

Upload a Task

upload

Drag Files To Upload or Browse

@endif @if($task_question->question_type =="file_upload")

Uploaded File

svg
check
@endif @if($task_question->question_type =="MCQ")
@foreach($task_question->taskQuestionOptions as $taskQuestionOption)
@endforeach
@endif @if($task_question->question_type =="RADIO")
@foreach($task_question->taskQuestionOptions as $taskQuestionOption)
@endforeach
@endif @if($task_question->question_type =="descriptive")
@endif
@endforeach