Countdown
Medium · Timers
Show a countdown in a <p> that starts automatically: "3", then "2", then "1", then "Done!". It changes every 200ms and stops at "Done!".
When it is done, show a "Restart" button that starts again from 3. The button is not shown while counting.
Remember to clean up your timer in the effect.
Next: Traffic Light