@php use App\Helpers\StudentHelper; $logoPath = StudentHelper::collegeLogo(); $ctitle = StudentHelper::collegeCtitle(); $ptitle = StudentHelper::collegePtitle(); $logoExists = $logoPath && file_exists(storage_path('app/public/' . $logoPath)); // ✅ completed flag (based on existing $previousAnswer behavior) $isCompleted = !empty($previousAnswer); $rawAnswer = $previousAnswer ?? ''; // if stored as
...
, extract code only $rawAnswer = preg_replace('#^
|
$#i', '', trim($rawAnswer)); // decode entities: < -> < etc $rawAnswer = html_entity_decode($rawAnswer, ENT_QUOTES | ENT_HTML5, 'UTF-8'); // normalize line endings $rawAnswer = str_replace(["\r\n", "\r"], "\n", $rawAnswer); @endphp @yield('ctitle', $ptitle)
Please Rotate Your Device
This exam requires landscape mode for the best coding experience and to ensure exam integrity.
@if($fullscreen) @endif
Launching Little Buds Coding Studio!
3
Get ready to solve puzzles & earn stars...
LITTLE BUDS CODING STUDIO Solve the puzzle & pass all tests!
@if(!empty($solution)) @endif
{!! $question !!}
{{ $ctitle }} {{ strtoupper($language) }} Code Editor
00:00 Copied! @include('student.course.compiler.components.ping-tester')
Run & Output
Output Copied!
Output here...
@include('student.course.compiler.components.calculator')
@include('student.course.compiler.components.notes-popup')