From 540ba14090da27c6b45c6e2f2f76525a2a1310c3 Mon Sep 17 00:00:00 2001 From: Jimmy Nguyen Date: Wed, 24 Apr 2024 19:29:16 -0500 Subject: [PATCH] fix duplicate leaderboard --- html/index.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/html/index.html b/html/index.html index 1da9551..7362a14 100644 --- a/html/index.html +++ b/html/index.html @@ -53,11 +53,6 @@

Timer: 30 seconds

-
-

Leaderboard

-
    -
    -

    Leaderboard

    @@ -313,8 +308,10 @@

    Leaderboard

    timerElement.textContent = time; if (time <= 30) { timerElement.style.color = 'red'; // Change color to red when 30 seconds or less + timerElement.style.border = '4px solid red'; // Add red border when 30 seconds or less } else { timerElement.style.color = 'black'; // Reset color to black for other times + timerElement.style.border = '4px solid black'; // Reset border to black for other times } } function resetTimer() {