.score-badge background: #1f4e6e; color: white; border-radius: 60px; padding: 0.4rem 1.2rem; font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; gap: 8px; margin-top: 1rem; box-shadow: 0 4px 8px rgba(0,0,0,0.05);
.container max-width: 1300px; margin: 0 auto; geometrylessons.github
function updateScoreDisplay() let correctCount = 0; for (let i = 0; i < questions.length; i++) if (userAnswers[i] !== null && userAnswers[i] === questions[i].correct) correctCount++; const scoreEl = document.getElementById('scoreDisplay'); if (scoreEl) scoreEl.innerText = `Score: $correctCount / $questions.length`; .score-badge background: #1f4e6e