Countdown timer - tried to keep it simple and short

Countdown timer - tried to keep it simple and short Things learned: to convert seconds to hours - divide by 3600 and floor it to convert seconds to remaining minutes - %3600 and /60 to convert seconds to remaining seconds - remove hours with %3600 and remove seconds with %60


Requested feedback

Improving accessibility and code in any way

Comments

You must be signed in to post a comment

Get future questions delivered straight to your inbox for free

Sign up and receive instant access to new questions when we publish them.

We‘ll only use your information to deliver new questions and to provide you updates about our product. We‘ll never spam you or sell your information without your consent. Unsubscribe at any time.