Variables, data types, functions and control flow — the essential building blocks of JavaScript explained simply.