Challenge: Accessing Data From a Variable
Tâche
Swipe to start coding
- Create a variable
firstNamewith value"Alice". - Create a variable
lastNamewith value"Johnson". - Create a variable
agewith value25. - Write a
console.logstatement outputting:
User: Alice Johnson is 25 years old.
Use the values of variables inside the console.log statement to generate this output.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 17
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 1.33
Challenge: Accessing Data From a Variable
Glissez pour afficher le menu
Tâche
Swipe to start coding
- Create a variable
firstNamewith value"Alice". - Create a variable
lastNamewith value"Johnson". - Create a variable
agewith value25. - Write a
console.logstatement outputting:
User: Alice Johnson is 25 years old.
Use the values of variables inside the console.log statement to generate this output.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 17
single