+ 1

javascript

please someone help me to pass practice task 56.2 javascript (london is the capital of GB)

7th Nov 2022, 12:08 PM
ismail elhachemi
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.
7th Nov 2022, 1:39 PM
Ausgrindtube
Ausgrindtube - avatar
0
Sure. From the information provided, the solution is something.
7th Nov 2022, 1:23 PM
Emerson Prado
Emerson Prado - avatar
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}`; }
11th Mar 2024, 11:04 AM
JOSHUA KAWALYA
JOSHUA KAWALYA - avatar