39 lines
883 B
PHP
39 lines
883 B
PHP
<?php
|
||
session_start();
|
||
require_once 'includes/header.php';
|
||
|
||
$score = $_SESSION['practice_score'] ?? 0;
|
||
$total = $_SESSION['practice_total'] ?? 0;
|
||
?>
|
||
|
||
<div class="assessment-result">
|
||
|
||
<h1>Good Effort 👏</h1>
|
||
|
||
<p>
|
||
You scored <strong><?php echo $score; ?>/<?php echo $total; ?></strong>.
|
||
</p>
|
||
|
||
<div class="feedback improve">
|
||
<p>
|
||
You’re learning well, but a little more practice will help you
|
||
understand the concepts better.
|
||
</p>
|
||
<p>
|
||
Don’t worry — learning is a journey, not a race.
|
||
</p>
|
||
</div>
|
||
|
||
<div class="actions">
|
||
<a href="practice_track.php" class="btn primary">
|
||
Retry Practice Track
|
||
</a>
|
||
<a href="tracks.php" class="btn secondary">
|
||
Back to Tracks
|
||
</a>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<?php require_once 'includes/footer.php'; ?>
|