+ 5

What is the mistake in this?

https://code.sololearn.com/Wb88PnJ8CM8c/?ref=app For me it print the output in new line But expected it should be in one line..

21st Nov 2022, 6:12 PM
Riya
Riya - avatar
7 odpowiedzi
+ 5
SoloProg that same syntax only I wrote but it doesn't works..
22nd Nov 2022, 4:10 AM
Riya
Riya - avatar
+ 3
Lisa it is 56.2 code coach problem in JavaScript lesson..
22nd Nov 2022, 4:09 AM
Riya
Riya - avatar
+ 3
Riya , in the link you will see the difference between them, I also highlighted the mistakes. https://code.sololearn.com/WH1zvk0ZQFc5
22nd Nov 2022, 8:21 AM
SoloProg
SoloProg - avatar
+ 2
Which task is it?
21st Nov 2022, 6:20 PM
Lisa
Lisa - avatar
+ 2
const card=`Name:${country}, Capital:${capital}`;
22nd Nov 2022, 12:54 AM
SoloProg
SoloProg - avatar
0
How can I make a code repo
22nd Nov 2022, 6:55 AM
Ibrahim Muhammed Jalba
23rd Nov 2022, 8:37 AM
Soumya Ranjan Behera
Soumya Ranjan Behera - avatar