devv-work / timeato

Track productivity, allot time for focusing on tasks, and increase your effectiveness during study sessions
https://timeato.up.railway.app/
7 stars 1 forks source link

Timer develop #56

Closed Brandon-Schefstad closed 2 years ago

Brandon-Schefstad commented 2 years ago

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.

Brandon-Schefstad commented 2 years ago

Addresses some concerns of #60 but there are definitely better ways. See #49 for more info!

IngmarSoares commented 2 years ago

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.

Brandon-Schefstad commented 2 years ago

@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