Please turn JavaScript on to use this site.
Worlds
Minds
Users
Uploads
Source code
Search
Worlds
Minds
Users
Uploads
Source code
Intro
Introduction
Features
Definitions
Principles
The AI model
Teaching
Register a class
Learn
Getting started
P5 tutorial
Three.js tutorial
JavaScript courses:
HappyCoding
UTDallas
Coding Train course
Coding Train II
WebGL course
JS for kids
AI exercises
Python courses:
Py4e course
Browse
Starter Worlds
Showcase Worlds
Editor's Choice
Multi-user Worlds
Random Worlds
Advanced search
Docs
Docs
API docs
Register
Register
Forgot password
New World
Login
Drag the background!
Step 6. Loops and Iteration
Lesson
Lesson 6
Loops and Iteration
World
Activity 6.1
The while Loop
Clone and Edit
World
Activity 6.2
Infinite Loops and break
Clone and Edit
World
Activity 6.3
continue
Clone and Edit
World
Activity 6.4
The for Loop
Clone and Edit
World
Activity 6.5
range
Clone and Edit
World
Activity 6.6
Loop Patterns
Clone and Edit
World
Activity 6.7
Nested Loops
Clone and Edit
World
Activity 6.8
Exercise
Clone and Edit
Previous
Next: Step 7 of 9
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
Hide background
Hide content