← Course overviewINTERACTIVE COURSE

Loops and iteration in JavaScript: repeating, accumulating, and finishing

Free practice: progress remains only while you stay on this page.

Checking your account to restore the correct progress…

Codi · Your learning companion
UNDERSTAND · PRACTICE · APPLY

Learn at your own pace

I'm Codi, your companion in these lessons. Explore ideas with examples and practice at your pace.

Learn while, for, and do...while, use counters and accumulators, and control traversals with break and continue. Build a savings simulation and check its limits and outputs.

Selected lesson: while: repeating while appropriate

You do not need to answer every question correctly to complete a lesson.