×

typescript · level 1 · unit 1 · lesson 2

  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

shows a message on the screen.

The console is the part of the screen where your program's messages appear. console.log writes a message there. Whatever you put inside its brackets is what appears.

Words go inside quote marks, like "Hello, world!". A piece of text in quotes is called a . Picture the letters threaded on a string, like beads. The quotes are not shown.

The ; at the end works like a full stop. It tells TypeScript that this instruction is finished.

console.log("Hello, world!");

Use the same quote mark at both ends of your string.