Completed Questions

All coding problems solved by the student

@if(isset($course_name) && $course_name)
{{ $course_name }}
@endif @if(isset($module_name) && $module_name)
{{ $module_name }}
@endif
{{ count($completedCodings) }} Questions
@if(count($completedCodings) > 0)
@foreach($completedCodings as $index => $coding)
{{ $index + 1 }}

{{ $coding->title ?? 'Untitled Question' }}

@php $difficultyColors = [ 'easy' => ['bg' => '#065f46', 'text' => '#34d399'], 'medium' => ['bg' => '#92400e', 'text' => '#f59e0b'], 'hard' => ['bg' => '#991b1b', 'text' => '#f87171'] ]; $level = $coding->level ?? 'easy'; $colors = $difficultyColors[$level] ?? $difficultyColors['easy']; @endphp
Level: {{ ucfirst($level) }}
Submited Time : {{ $report->submitedtime ?? 'Untitled Question' }}
@endforeach
@else

No Questions Completed

This student hasn't completed any coding questions for this assessment yet.

@endif