Treehouse Quick Tips (HD)

Create a Timer in JavaScript


Listen Later

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.
...more
View all episodesView all episodes
Download on the App Store

Treehouse Quick Tips (HD)By Treehouse

  • 5
  • 5
  • 5
  • 5
  • 5

5

7 ratings