JAVASCRIPT · ОСНОВЫ · LESSON 01

First message

console.log · about 12 minutes

Learning with progressRead the summary for free. To save the work, log in to the account.
STEP 1

The program can talk

console.log shows the value in the console. Put it in quote marks.

console.log("Привет!");
First output
Codeconsole.logConsoletext

✦ There's going to be Hello on the console!

STEP 2

Brackets and semicolon

We put the value in parentheses. At the end of the command we put a semicolon.

console.log("Я учусь");

✦ Try to find quotation marks and brackets in the line.

IN-CLASS PRACTICE

Type the code yourself

Type an example manually. Check the names, brackets and signs.

console.log("Доброе утро!");
Open the editor for class work
HOMEWORK

Solve it yourself

Translate the phrase «Привет, JavaScript!» through console.log.

The answer is hidden. Use similar examples from the lesson notes.

Opening up your homework