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

bookWriting 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:

console.log('Hello world!');

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

console.log('What a good idea!')
Tarefa

Swipe to start coding

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

Solução

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 1
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

close

Awesome!

Completion rate improved to 2

bookWriting our first code

Deslize para mostrar o menu

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:

console.log('Hello world!');

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

console.log('What a good idea!')
Tarefa

Swipe to start coding

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

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

close

Awesome!

Completion rate improved to 2
Seção 1. Capítulo 1
single

single

some-alt