Closed Brandon-Schefstad closed 2 years ago
Addresses some concerns of #60 but there are definitely better ways. See #49 for more info!
The timer works, but when you choose the number of minutes in the dropdown menu instead of minutes it selects seconds! Another minor bug is that the start/stop button resets the timer.. but does not stop.
@IngmarSoares Oh yes sorry that was just in development so i didnt have to wait a minute to confirm it was working lol. Good catch about the start/stop too
Pomodoro.ejs has class names for main.js
main.js has eventListeners and functions that allow for updating the DOM dynamically. setInterval has to be updated to 60,000 for it to countdown minutes.