diff --git a/public/script.js b/public/script.js index 567ce3b..3e8cc32 100644 --- a/public/script.js +++ b/public/script.js @@ -27,6 +27,8 @@ document.getElementById('bustGhost').addEventListener('click', function() { ghostGameRunning = false; document.getElementById('bustGhost').style.display = 'none'; }); + +function jjm(){ timerHistory.push(time); const newTime = document.createElement('li'); newTime.textContent = `Time: ${time} ms`; @@ -51,4 +53,4 @@ document.getElementById('timerButton').addEventListener('click', function() { this.textContent = 'Start Timer'; recordTime(elapsedTime); } -}); \ No newline at end of file +});