ACARA 7-8 Digital Technologies: Iteration with loops in JavaScript
Students repeat code with for and while loops, combine loops with decisions and input, and turn visual loops and algorithms into typed code.
One content description (AC9TDI8P05, AC9TDI8P06, AC9TDI8P09) from the full ACARA Digital Technologies Years 7–8 — Programming with Control Structures and Functions (JavaScript) journey. All 13 modules below are in that journey too, with the same content — add just these to a class, or the whole strand.
Modules (13)
1
While Loops
2
For Loops
3
Using the loop counter inside a for loop
4
Counting down with a for loop
5
Totals and counters in a loop
6
An if statement inside a loop
7
Infinite loops and updating the loop variable
8
break and continue
9
Repeating until valid input is given
10
Choosing a for loop or a while loop (JavaScript)
11
Nested loops: a loop inside a loop
12
Visual repeat, forever and repeat-until blocks to JavaScript
13
Turning pseudocode or a flowchart into JavaScript
For Teachers
Add this journey to your class and track every student in real time.
Create a free teacher account →No credit card. No setup fee. Make a class and invite students in under three minutes.
For Students
Start this journey on Cloodit — track progress, earn badges, and play live sprints with your class.
Start Learning Free →