@extends('frontend.layouts.app') @section('content')

Revision Session

Mock Exam

Start a new revision session

@foreach($categories as $category) @php // Calculate the total number of questions for the category $totalQuestionsCount = $category->subcategories->sum('questions_count'); @endphp
{{ $category->name }}
{{-- "All" Checkbox showing total question count --}} {{-- Subcategory Checkboxes --}} @foreach($category->subcategories as $subcategory)
@endforeach
@endforeach
Start Revision

Start a new Exam

120-Question Comprehensive Mock Exam: Test Your Knowledge and Skills!

Helping you get comfortable with exam conditions.

@foreach($categories->take(6) as $category)
{{$category->name}}

Minimum 20 Questions

@endforeach
@endsection @push('js') @endpush