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

Veeg om het menu te tonen

book
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):

Taak

Swipe to start coding

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

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 1. Hoofdstuk 1
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

close

Awesome!

Completion rate improved to 2

book
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):

Taak

Swipe to start coding

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

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

close

Awesome!

Completion rate improved to 2

Veeg om het menu te tonen

some-alt