Loops


We will discuss what loops do within programming and the four loops built into Javascript: the for loop, the "for each" loop, the while loop, and the do while loop.

Code examples are here (the webpage) and here (the Javascript).

This is a working example of the exercise.

You can download starter html and javascript here and here, respectively.

Return to Contents