Code Editor
Learn
Loops

Review Loops

Great job! In this unit we learned how to write less repetitive code with loops.

  • for loops allow us to repeat a block of code a known amount of times.
  • We can use a for loop inside another for loop to compare two lists.
  • while loops are for looping over a code block an unknown amount of times.

At this point, you've learned the foundational concepts of JavaScript. Now we are going to apply them to the web with a JavaScript library called jQuery.

Instructions

Click 'Up Next' to continue.

Report a Bug
If you see a bug or any other issue with this page, please report it here.