36459-vm/coding/track_challenges.php
2026-05-27 14:29:58 +05:30

53 lines
1.2 KiB
PHP

<?php
include __DIR__ . '/../includes/header.php';
$track_id = $_GET['track_id'] ?? 0;
$trackNames = [
1 => "Logic & Problem Solving",
2 => "Python Foundations",
3 => "Applied Thinking"
];
$trackTitle = $trackNames[$track_id] ?? "Coding Challenges";
?>
<section class="section">
<div class="container">
<!-- Header -->
<div style="margin-bottom:28px;">
<h1 style="font-size:26px; font-weight:800; margin-bottom:6px;">
<?php echo htmlspecialchars($trackTitle); ?>
</h1>
<p style="color:var(--muted); max-width:720px;">
Complete the challenges in sequence to unlock participation
recognition and skill validation.
</p>
</div>
<!-- Challenges -->
<div class="grid">
<?php for ($i = 1; $i <= 5; $i++): ?>
<div class="card">
<h3>Challenge <?php echo $i; ?></h3>
<p>
This challenge focuses on strengthening core concepts
and applying logical reasoning step by step.
</p>
<div style="margin-top:14px;">
<button class="btn btn-outline">Start Challenge</button>
</div>
</div>
<?php endfor; ?>
</div>
</div>
</section>
<?php
include __DIR__ . '/../includes/footer.php';
?>