Skip to content

Commit

Permalink
added script.js, improved readability, improved class & id names
Browse files Browse the repository at this point in the history
  • Loading branch information
nstlgy committed Feb 28, 2024
1 parent 9c17dfd commit 9199ae4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

const timerDisplay = document.getElementById("pomodoro-timer-display");
const startBtn = document.querySelector(".start-button");
const pauseBtn = document.querySelector(".pause-button");
Expand Down Expand Up @@ -29,7 +28,7 @@ function startTimer() {
clearInterval(timerId);
alert("Time is up!");
resetTimer();

}
}, 1000);
}
}
Expand Down

0 comments on commit 9199ae4

Please sign in to comment.