Osio 1. Luku 1
single
Writing our first code
Pyyhkäise näyttääksesi valikon
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!')
Tehtävä
Pyyhkäise aloittaaksesi koodauksen
Print another one message. Use the console.log() to print this message "I am learning JavaScript"
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 1
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme