Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Writing our first code | Introduction
Introduction to JavaScript (staging)
course content

Course Content

Introduction to JavaScript (staging)

Introduction to JavaScript (staging)

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

Writing our first code

The very first exercise every programmer goes through is the printing Hello world! message to the console. Let's do it with JavaScript: you should use the console.log() statement like in the example:

Try running this code and you will see a sentence in parentheses printed in the console.

You can put any other message (inside the quotes):

Task

Print another one message. Use the console.log() to print this message "I am learning JavaScript"

Task

Print another one message. Use the console.log() to print this message "I am learning JavaScript"

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 1
toggle bottom row

Writing our first code

The very first exercise every programmer goes through is the printing Hello world! message to the console. Let's do it with JavaScript: you should use the console.log() statement like in the example:

Try running this code and you will see a sentence in parentheses printed in the console.

You can put any other message (inside the quotes):

Task

Print another one message. Use the console.log() to print this message "I am learning JavaScript"

Task

Print another one message. Use the console.log() to print this message "I am learning JavaScript"

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

Section 1. Chapter 1
toggle bottom row

Writing our first code

The very first exercise every programmer goes through is the printing Hello world! message to the console. Let's do it with JavaScript: you should use the console.log() statement like in the example:

Try running this code and you will see a sentence in parentheses printed in the console.

You can put any other message (inside the quotes):

Task

Print another one message. Use the console.log() to print this message "I am learning JavaScript"

Task

Print another one message. Use the console.log() to print this message "I am learning JavaScript"

Switch to desktop for real-world practiceContinue from where you are using one of the options below

Everything was clear?

The very first exercise every programmer goes through is the printing Hello world! message to the console. Let's do it with JavaScript: you should use the console.log() statement like in the example:

Try running this code and you will see a sentence in parentheses printed in the console.

You can put any other message (inside the quotes):

Task

Print another one message. Use the console.log() to print this message "I am learning JavaScript"

Switch to desktop for real-world practiceContinue from where you are using one of the options below
Section 1. Chapter 1
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt