+ 1
javascript
please someone help me to pass practice task 56.2 javascript (london is the capital of GB)
3 Answers
+ 3
Ismail, please copy the text of the task here and then put your answer into a new code in the code playground and attach it too.
Then, someone can properly help you.
0
Sure. From the information provided, the solution is something.
0
function main() {
var country = readLine();
var capital = readLine();
console.log(countryCard(country, capital));
}
function countryCard(country, capital) {
// Complete the function using backtick for template literal
return `Name: ${country}, Capital: ${capital}`;
}