Skip to main content

JavaScript Basics

3 lessonsAbout 18 minutesBeginner

This part of the JavaScript Tutorial runs from JavaScript Variables through to JavaScript Operators. There are 3 lessons here, and working through them takes about 18 minutes at a steady pace.

It follows on from JavaScript Introduction, 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 VariablesJavaScript variables are used to store data values.
  2. 2JavaScript Data TypesJavaScript data types define what kind of value a variable can store.
  3. 3JavaScript OperatorsJavaScript operators are symbols used to perform operations on values and variables.