Blocks are puzzle-shaped shapes that are used to create code in Scratch. As said above, the blocks fit together like a jigsaw puzzle where each data type (event, command, reported value, reported Boolean, or script end) has its own shape and a specially shaped slot for it to be inserted into – eliminating the typing errors that tend to occur when people use text-based programming languages. A series of connected blocks form scripts.
There are six different type of blocks classified on the basis of their shapes:
Blocks are also classified into 10 types on the basis of the functions they perform. The ten categories (palettes): Motion, Looks, Sound, Pen, Data, Events, Control, Sensing, Operators, and More Blocks. Blocks are colour coded to help you find related blocks easily. For most of the blocks, the name suggests the functions they perform: