No Attempts Found
This student has not attempted any coding questions yet.
Codings Review
Detailed view of all coding question attempts
{{ count($completedReports) }}
Attempts
@foreach($completedReports as $row)
@php
$q = $codingQuestions[$row->questionid] ?? null;
$difficultyColors = [
'easy' => ['bg' => '#065f46', 'text' => '#34d399'],
'medium' => ['bg' => '#92400e', 'text' => '#f59e0b'],
'hard' => ['bg' => '#991b1b', 'text' => '#f87171'],
'Easy' => ['bg' => '#065f46', 'text' => '#34d399'],
'Medium' => ['bg' => '#92400e', 'text' => '#f59e0b'],
'Hard' => ['bg' => '#991b1b', 'text' => '#f87171']
];
$level = $q->level ?? 'easy';
$colors = $difficultyColors[$level] ?? $difficultyColors['easy'];
@endphp
@endforeach
{{ $loop->iteration }}
{{ $q->title ?? 'Question #' . $row->questionid }}
Difficulty:
{{ ucfirst($level) }}