×

typescript · level 1 · unit 1 · lesson 3

  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

Lines run in order, one after another.

A program can have lots of lines. They run in order, top to bottom, like ticking off a shopping list. Everything your program shows on the screen is called its .

An empty console.log() has nothing to show, so you get a blank line. It is handy for spacing things out.

You can also give one console.log several strings. Put a comma between them and they appear on one line, with a space between each.

console.log("Ready");
console.log("Steady");
console.log();
console.log("Go!");

The commas go between the strings, outside the quote marks.