This task was to build a countdown clock with pre-set timer buttons. I tweaked it to use pomodoro times.
Date.now()is a new static method that returns the current timestamp in miliseconds.
- You can select a form element directly if it has a name attribute e.g.
The code is on github and the live version is here.