@extends('layout.app', ['title' => 'Kiểm tra trình độ']) @push('style') @vite(['resources/css/landing.css', 'resources/css/level-test.css']) @endpush @php use App\Enums\QuestionLabelEnum; //TODO: mot so cau trac nghiem co 4 dap nhung truong choices trong problem chi co 1/[] choices $choices = $question && $question->choices ? json_decode($question->choices, true) : ['A', 'B', 'C', 'D']; // dd(QuestionLabelEnum::getkey(2)); @endphp @section('content')
@if ($question) @include('layout.landing_banner', [ 'title' => $chapter->course->grade->name . ' - ' . $chapter->course->subject->name . ': Chương ' . $chapter->chapter_number . ' - Bài ' . getUnitNumber($question->id), 'description' => 'Đánh giá năng lực học tập giúp xác định điểm mạnh và điểm yếu của bạn, từ đó tạo ra các chiến lược học tập phù hợp để đạt được thành công.', ])

KIỂM TRA TRÌNH ĐỘ

Câu hỏi {{ $selectedParam['question_order'] }} / {{ $selectedParam['question_number'] }}
@if ($question && $question->solution)
@csrf
{{-- image question --}}
{{-- TODO: dieu kien de hien cac o multi select box --}} @if ($question->solution->result)
@foreach ($choices as $choice)
@endforeach {{-- show validate error --}}

@else
{{-- show validate error --}}

{{-- ... --}}
@endif
{{-- TODO: dieu kien de hien thi cau cuoi cung --}} @if ($question->solution->result)
@endif
@endif

m s

Thời gian làm bài

Về Trang Chủ
@else

Không tìm thây câu hỏi

@endif
@endsection @push('script') @vite(['resources/js/landing.js', 'resources/js/time.js', 'resources/js/answer.js', 'resources/js/question_mathpix.js', 'resources/js/question_mathpix_image_responsive.js']) @endpush