How can I include double digits in my pomodoro clock?

my clock counts down like this:
10
9
8…

How can I have it count down like this:
10
09
08
07…?

You actually don’t need to write your own function — JS now has its own (padStart), though it’s not IE-compatible so you might still want to write your own.

1 Like

thank you, I got everything fixed now