Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Output Using Variables 2/2 | Introduction
Introduction to JavaScript (staging)
course content

Зміст курсу

Introduction to JavaScript (staging)

Introduction to JavaScript (staging)

1. Introduction
2. JavaScript syntax
3. Data Types and Variables

Output Using Variables 2/2

Завдання

A variable named country has been given to you. Your task is, using the above variable, to print the statement My country is USA and I love my country in the console window using console.log

Завдання

A variable named country has been given to you. Your task is, using the above variable, to print the statement My country is USA and I love my country in the console window using console.log

Summary:

  • The console.log() in JavaScript is used to display output to the users.
  • JavaScript support both single-quotes as well as double-quotes.
  • Variables can also be passed into the console.log() and they have to be separated by a comma ,.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 1. Розділ 3
toggle bottom row

Output Using Variables 2/2

Завдання

A variable named country has been given to you. Your task is, using the above variable, to print the statement My country is USA and I love my country in the console window using console.log

Завдання

A variable named country has been given to you. Your task is, using the above variable, to print the statement My country is USA and I love my country in the console window using console.log

Summary:

  • The console.log() in JavaScript is used to display output to the users.
  • JavaScript support both single-quotes as well as double-quotes.
  • Variables can also be passed into the console.log() and they have to be separated by a comma ,.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Секція 1. Розділ 3
toggle bottom row

Output Using Variables 2/2

Завдання

A variable named country has been given to you. Your task is, using the above variable, to print the statement My country is USA and I love my country in the console window using console.log

Завдання

A variable named country has been given to you. Your task is, using the above variable, to print the statement My country is USA and I love my country in the console window using console.log

Summary:

  • The console.log() in JavaScript is used to display output to the users.
  • JavaScript support both single-quotes as well as double-quotes.
  • Variables can also be passed into the console.log() and they have to be separated by a comma ,.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Завдання

A variable named country has been given to you. Your task is, using the above variable, to print the statement My country is USA and I love my country in the console window using console.log

Summary:

  • The console.log() in JavaScript is used to display output to the users.
  • JavaScript support both single-quotes as well as double-quotes.
  • Variables can also be passed into the console.log() and they have to be separated by a comma ,.

Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 1. Розділ 3
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt