@extends('layouts.app') @section('content')
@include('users.includes.sidebar')
@include('users.includes.header')
{{-- @dd($contents) --}}

Home / Quiz

Quiz Question Posted {{$quiz->created_at->diffForHumans()}}
@php $img = 'users/img/quiz.jpeg'; if($quiz->image != ''){ $img = 'cover_img/'.$quiz->image; } @endphp collapse-image
{{$quiz->title}}
{{$quiz->question}}
@if (isset($quiza))
Your Posted Answer Posted {{ \Carbon\Carbon::parse($quiza->date_submitted)->diffForHumans() }}
@php $img = 'users/img/quiz.jpeg'; if($quiza->upload != ''){ $img = 'answers/'.$quiz->image; } @endphp collapse-image
{{$quiza->answer}}
Result / Admin's Response Posted {{ \Carbon\Carbon::parse($quiza->date_submitted)->diffForHumans() }}
@php $img = 'users/img/quiz.jpeg'; if($quiza->upload != ''){ $img = 'answers/'.$quiz->image; } @endphp collapse-image
{{$quiza->answer}}
@endif
Post your answer
@csrf




@include('users.includes.footer')
@endsection