please help me to fix this code in javascript template literals | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

please help me to fix this code in javascript template literals

let country = readLine(); let capital = readLine(); //complete the code console.log(`Country: , Capital: `);

2nd Apr 2023, 9:27 AM
Anthony Crausus
Anthony Crausus - avatar
4 Answers
+ 4
Jay Matthews Pls avoid giving finished code as answer, because it makes the OP skip the most important part of learning. Instead, prefer giving hints for the OP to find the solution.
3rd Apr 2023, 12:52 AM
Emerson Prado
Emerson Prado - avatar
+ 3
You need to complete the code. You declare the variables "country" and "capital", now you need to call them in your console.log How do you do that? (Hint: it's in the lesson)
2nd Apr 2023, 9:38 AM
Ausgrindtube
Ausgrindtube - avatar
+ 1
Console.log("capital country!");
2nd Apr 2023, 8:17 PM
Adewale Daniel
Adewale Daniel - avatar
0
but i can do 1 task only,
2nd Apr 2023, 9:50 AM
Anthony Crausus
Anthony Crausus - avatar