I can't pass this exercise in the introduction to Javascript. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I can't pass this exercise in the introduction to Javascript.

I can't get past the template literals exercise at the end of this one: let country = readline(); let capital = readline(); console.log(`Country: ${country}, Capital: ${capital}`);

13th Apr 2024, 6:20 PM
Alexandre Haas
Alexandre Haas - avatar
8 Answers
+ 2
I did it on my cell phone and it worked
14th Apr 2024, 11:43 AM
Alexandre Haas
Alexandre Haas - avatar
+ 1
the function is case sensitive. I hope this helps
13th Apr 2024, 7:20 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
0
Where can someone solve this problem please?
13th Apr 2024, 7:24 PM
Alexandre Haas
Alexandre Haas - avatar
0
check the function name, you can do it
14th Apr 2024, 4:55 AM
Mihaly Nyilas
Mihaly Nyilas - avatar
0
did you see the difference between this code and that code?
14th Apr 2024, 4:13 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
0
I tried the same on the computer and it didn't work
14th Apr 2024, 4:16 PM
Alexandre Haas
Alexandre Haas - avatar
0
because you are calling a function which does not exist. function names are case sensitive
14th Apr 2024, 4:39 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
0
Yes that's true function calling is case sensitive you can try with country()
15th Apr 2024, 10:47 AM
Raj Hans
Raj Hans - avatar