JS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

JS

Hi I need some help- I wrote the code as it was taught on the website, but there are 3 case errors Code: let name = readLine(); //your code goes here console.log("Welcome, " + "Tom" + "!");

15th Dec 2022, 5:29 PM
Irina Safaryan
Irina Safaryan - avatar
2 Answers
+ 3
You have 1 case answered, the case of Tom. What does your input line do? Where do you use it? (Hint: put the name of your input into your print statement, instead of an actual name)
15th Dec 2022, 5:32 PM
Ausgrindtube
Ausgrindtube - avatar
0
let name = readLine(); let x = "Welcome, "; let z ="!"; console.log(x+`${name}`+z);
18th Oct 2023, 8:43 PM
Prostibozenko Ilja
Prostibozenko Ilja - avatar