"JavaScript Loops, Arrays and Objects" was retired on December 18, 2020. You are now viewing the recommended replacement.

- JavaScript
- Beginner
About this Course
Loops are a way of repeating code -- they're handy for repetitive tasks. Loops are frequently used for actions that need to run a particular number of times or until a certain condition is true.
Simplify Repetitive Tasks with Loops
Learn how to save time and avoid code repetition with loops.
9 stepsWorking with 'for' Loops
Learn about the most common type of loop in JavaScript, the 'for' loop.
10 steps-
The for Loop
4:52
-
Create a for Loop
1 objective
-
Dynamically Display HTML with a Loop
6:52
-
Exit a Loop
-
Terminate a Loop
1 objective
-
The Refactor Challenge
3:00
-
The Refactor Challenge – One Solution
3:05
-
The Refactor Challenge – Duplicate Code
6:01
-
Review for Loops and Exiting Loops
6 questions
-
Refactor Code with a Loop
1 objective
Teacher
-
Guil Hernandez
Guil is a Full Stack JavaScript and Front End Web Development instructor.