×

javascript · level 1 · unit 1 · lesson 4

  1. meet it
  2. guess first
  3. your turn
  4. fix it
  5. nailed it

Tap a green word if you get lost.

meet it

An is a clue, not a disaster.

An error is JavaScript saying it got stuck. Everyone gets them, even experts. The message starts with the name of the problem, then a few words about it. Read it slowly.

A means JavaScript cannot read your code, like a sentence with words missing. Often a quote mark or a bracket has gone astray. Nothing runs until you fix it.

A means JavaScript met a name it does not know. JavaScript is , so Console with a capital C is a stranger to it. The lines above the mistake still run.

Fixing errors is a big part of writing code, so every one you solve makes you better at it.