Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Accessing Data From a Variable | Section
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
JavaScript Essentials for Beginners - 1768407374405

bookChallenge: Accessing Data From a Variable

Tehtävä

Swipe to start coding

  • Create a variable firstName with value "Alice".
  • Create a variable lastName with value "Johnson".
  • Create a variable age with value 25.
  • Write a console.log statement outputting:
User: Alice Johnson is 25 years old.

Use the values of variables inside the console.log statement to generate this output.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 17
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

bookChallenge: Accessing Data From a Variable

Pyyhkäise näyttääksesi valikon

Tehtävä

Swipe to start coding

  • Create a variable firstName with value "Alice".
  • Create a variable lastName with value "Johnson".
  • Create a variable age with value 25.
  • Write a console.log statement outputting:
User: Alice Johnson is 25 years old.

Use the values of variables inside the console.log statement to generate this output.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 17
single

single

some-alt