Statements and semicolons
A statement is one instruction in JavaScript, usually written on its own line and ended with a semicolon (;). This line is one statement.
Understanding Statements and semicolons in ACARA Digital Technologies Years 7–8
What it does: There are two instructions here, so they sit on two lines. Each one is a separate statement that ends with its own semicolon. Semicolons mark the end of an instruction. Colons are used for other things, like object properties. Writing one statement per line makes code easier to read and to debug. The whole call to console.log() is a single instruction, so it is one statement. JavaScript runs statements in order, one after another, from top to bottom.
Common mistakes: The statement 'let age = 13' has no semicolon at the end. Each statement should finish with a semicolon: let age = 13;. The statement ends with a colon (:) instead of a semicolon (;). It should be score = score + 5;.
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 522–560) and word search (Modules 522–580).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
let score = 0;Fill in the Blanks
Spot the Error
Student with a class code? Join your class →