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:
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!')
Swipe to start coding
Print another one message. Use the console.log()
to print this message "I am learning JavaScript"
Solución
¡Gracias por tus comentarios!
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Awesome!
Completion rate improved to 2
Writing our first code
Desliza para mostrar el menú
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!')
Swipe to start coding
Print another one message. Use the console.log()
to print this message "I am learning JavaScript"
Solución
¡Gracias por tus comentarios!
Awesome!
Completion rate improved to 2single