From b9a4b58d27e58b4cf1f18f355d5b1094d1607d43 Mon Sep 17 00:00:00 2001 From: Joanaluz Taveras <155923675+JoanaluzT@users.noreply.github.com> Date: Fri, 14 Jun 2024 18:52:59 -0400 Subject: [PATCH] trying to fix holes --- src/index.js | 3 ++- src/styles.css | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 29680933..78c6effb 100644 --- a/src/index.js +++ b/src/index.js @@ -268,7 +268,7 @@ function setDuration(duration) { function stopGame(){ // stopAudio(song); //optional clearInterval(timer); - return "game stopped"; + return "game ended"; } /** @@ -298,6 +298,7 @@ function startGame(){ startButton.addEventListener("click", startGame); +if ( !testMode ) setEventListeners(); // Please do not modify the code below. diff --git a/src/styles.css b/src/styles.css index 0873f9fb..c539ba6c 100644 --- a/src/styles.css +++ b/src/styles.css @@ -79,5 +79,5 @@ h2 { .hole.show .mole { top: 0; - /*transform: scale(1.1);*/ + transform: scale(1.1); }