Javascript Countdown timer question

Hi everyone,

I’m in the process of learning Javascript and my assignment is to build a Javascript countdown timer. The script should accept an initial integer amount of seconds in the window (for example, “116”), count it down to 0, and stop upon reaching this value. Only the amount of seconds to countdown should be displayed (no milliseconds). I need a Start, Stop and Reset button as well.

I figured out how to build a stopwatch but this I can’t figure out - any have any live examples to demonstrate? I am stuck on the custom integer that the user can enter…



The way to approach this, is to break it down into smaller, more manageable problems.
What code have you got so far?
How do you intend to get the integer?

This might help: