Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed JavaScript Loops!
You have completed JavaScript Loops!
Preview
In programming, a loop is a way to repeat the same set of actions a certain number of times or until a specific condition is true.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
[MUSIC]
0:00
Hi, everyone, I'm Guil, a developer and
instructor here at Treehouse.
0:00
In this course,
I'll teach you another fundamental concept
0:04
that you'll use just about every day
in JavaScript programming, loops.
0:07
[MUSIC]
0:11
In programming, a loop is a way to repeat
the same set of actions a certain number
0:15
of times or
until a specific condition is true.
0:19
For example, let's say you wanted to
display ten random numbers on a web page.
0:23
Well, you could write the code
to generate a random number,
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up