Skip to main content

JavaScript Statement & Expression

7 lessonsAbout 42 minutesBeginner

This part of the JavaScript Tutorial runs from JavaScript Statements through to JavaScript Code Blocks. There are 7 lessons here, and working through them takes about 42 minutes at a steady pace.

It follows on from JavaScript Basics, so finish that first if you have not already — the examples below assume you are comfortable with it.

Each lesson below says what it covers before you open it. Read them in order the first time; afterwards this page works as a index you can jump back into when you need to check one thing.

  1. 1JavaScript StatementsJavaScript statements are instructions that tell the browser what to do.
  2. 2JavaScript ExpressionsA JavaScript expression is a piece of code that produces a value.
  3. 3JavaScript KeywordsJavaScript keywords are reserved words that have a special meaning in JavaScript.
  4. 4JavaScript IdentifiersJavaScript identifiers are names used to identify variables, functions, objects, classes, and other items in code.
  5. 5JavaScript Case SensitivityJavaScript is a case-sensitive programming language.
  6. 6JavaScript SemicolonsJavaScript semicolons are used to separate statements.
  7. 7JavaScript Code BlocksJavaScript code blocks are used to group multiple statements together.