0
Introduction to Javascript
Lesson about template literals. Variables country and capital are declared by the system. Here it is my solution: console.log(`Country:${country},Capital:${capital}`); marked as wrong by the system. Funny is that I checked their solution and is exactly the same, moreover my output is the same as the expected output As a free learner, the only outcome is that I loose interest in SoloLearn...
2 Respostas
+ 5
Alessandro Puddu
funny thing is that there is no 'Country : ' in all test cases output
You should correct your code
+ 2
My correct answer is:
return `Name: ${country}, Capital: ${capital}`;
dont forget the white spaces after colon and comma