Coding in school, Std by Std. Tap blocks or type real commands, and watch your program draw, move and play. It all runs inside this page: no installing, no internet needed.
๐จ Open the playground ๐ฑ Scratch projects ๐ฎ Coding gamesA variable is a named box that holds a number you can change later.
Start โ Lesson 2When a loop changes a variable each time round, the drawing spirals.
Start โ Lesson 3An if lets the program compare two numbers and act only when the answer is yes.
Start โ Lesson 4random gives a different number every time, so a program need not be the same twice.
Start โ Lesson 5Give every part of a drawing its own named block, and the program reads like a list of parts.
Start โ Lesson 6Plan a big drawing on paper first, then build it one tested part at a time.
Start โBuild a city along the bottom of the page. Each building is a box, a loop draws the whole row, and a variable gives every building a different height. Then decorate it: windows, a sun, a moon, whatever your city needs.
Build it โProjectMake a spirograph: one shape drawn over and over, turned a little each time. Tiny changes to the turn give completely different patterns, so keep a note of the pairs of numbers that look best.
Build it โthe shortest looking route is not always the one that exists
Play โMazepar 17break a long journey into straight runs and write each one as a repeat
Play โMazepar 20the same turn repeated with shrinking runs makes a spiral
Play โ Bug huntA hexagon with six equal sides.
Fix it โBug huntA blue square filled with colour.
Fix it โ Drawโ โ โDraw this picture: a square house with a pointed roof on top.
Draw it โDrawโ โ โDraw this picture: a flower with six petals around a small centre.
Draw it โ