Javascript Timing Exercise (/10)

A script on this page starts this clock:

Tasks

1. How long does this clock run? Make it run longer

2. Try clicking stop time, then start time. You will see it works. What happens if you click start time multiple times? This happens because it starts multiple intervals that are all running simultaneously. You must prevent the user from having the ability to start multiple intervals, and clear previous intervals before starting another.

3. To fix this, uncomment the commented code in the javascript. What is the solution?

Try this: Write code that displays this image like a light box on top of the page 5 seconds after the page loads.