Please, I really need help,I've been battling with my temperate Literals for hours without any solution. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please, I really need help,I've been battling with my temperate Literals for hours without any solution.

let country = "Portugal"; let capital = "Lisbon"; console.log (`Country: ${country}, Capital: ${capital}`); they keep telling me it isn't correct

31st Aug 2023, 6:40 AM
Baderinwa Anthony
1 Answer
+ 1
You removed the accepted input, so your output can only ever print Portugal and Lisbon Change your country and capital names to the original readLine();
31st Aug 2023, 10:41 AM
Ausgrindtube
Ausgrindtube - avatar