Pomodoro Clock Completed

Hello Campers! :slight_smile:

I was able to complete the Pomodoro Clock project - https://codepen.io/Nitin-Chandran-Nair/full/JLZdqb/

Appreciate your feedback. :+1:
P.S.: I know the reset button is improperly positioned :frowning:

I like it! Although I feel like the reset button is positioned correctlyโ€ฆ the timer itself should be centered too? Good job anyways :slight_smile:

1 Like

@J_RO Thank you very much! I will work on re-positioning. :slight_smile:

It would look better if when the seconds are less than 10, they still display as 09, 08, etcโ€ฆ

I also found a bug with your timer. If I set both the work and break sessions to 1:00, I noticed when the work session never gets to 0:00 or another way of putting it is the break timer does not start at 1:00. For example, I expect to see the last few seconds of the work session and first few seconds of the break session to appear as:

0:03 
0:02 
0:01 
0:00 // end of session / start of break
0:59 
0:58 
0:57 

but instead your timer displays:

0:03 
0:02 
0:01 
0:59 // work session is short 1 second 
0:58 
0:57 
1 Like

@RandellDawson Thanks a lot! I will work on it and let you knowโ€ฆ :slight_smile:

@RandellDawson I have updated the code as per your review comments. Please do have a look when you get free time.

Thank you :slight_smile: