You've already started watching Create a Timer in JavaScript
Sometimes you need to wait a certain amount of time in your program before taking an action. You may also want to repeat an action after a certain length of time. You can do this using a timeOut and an interval. In this example tutorial, the element is replaced using getElementById.
-
0:00
[Treehouse presents]
-
0:02
[Quick Tips-Create a Timer in JavaScript]
You need to sign up for Treehouse in order to download course files.
Sign up