Skip to content
Web Core
Lesson 2 of 8
Sound effects
Wrap long lines
Suggest as you type
Close brackets and quotes
Tidy code on Check
Show errors on the line
Larger code text
Narrow indents
All Web lessons
Sign in
JavaScript for and while loops
20 min, 4 exercises
Code
Core
A loop over five items runs six times.
The rest of this lesson is locked.
4 exercises, checked as you type.
Sign in
JavaScript