@extends('frontend.pages.learning-player.master') @section('contents')
@if (Session::has('course_slug')) {{ truncate(Session::get('course_title')) }} @endif
@if ($quizResult->status == 'pass')
{{ __('You have passed the quiz!') }}
@else
{{ __('You have failed the quiz!') }}
{{ __('Sorry you have failed the quiz better luck next time.') }} @endif
@if (Session::has('course_slug')) {{ __('Go back to course page') }} @else {{ __('Go back to Dashboard') }} @endif
{{ $quiz->pass_mark }}/{{ $quiz->total_mark }}

{{ __('Minimum Marks') }}

{{ $attempt }}/{{ $quiz->attempt }}

{{ __('Attempts') }}

{{ $quizResult->user_grade }}

{{ __('Your Marks') }}

{{ $quizResult->status == 'pass' ? __('Passed') : __('Failed') }}

{{ __('Result') }}

@csrf
@php $result = json_decode($quizResult->result); @endphp @foreach ($quiz->questions as $question)
{{ $loop->iteration }}. {{ $question->title }}
@foreach ($question->answers as $answer)
@endforeach
@endforeach
@endsection @push('scripts') @endpush