String Interpolation with Variables. I've got the correct output, but the interface says that I am wrong?



<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
My code is not behaving incorrectly. I’m using string interpolation to display my name and city. The output is showing as i would expect ie… : My name is John. My favorite city is Gargunnock.

But the codacademy interface is saying that it is wrong, I get this message: Did you interpolate your name and favorite city using ES6 string interpolation?

Am I missing something. I believe that I’m using string interpolation correctly, and the output seems correct ?


let myName = "John";
let myCity = "Gargunnock";

console.log(`My name is ${myName}.  My favorite city is ${myCity}.`);
<do not remove the three backticks above>


I’ve just noticed that the example i copied and pasted has removed the back ticks. I’ll try re-pasting here:
console.log(My name is ${myName}. My favorite city is ${myCity}.);


the string logged should be an exact match, you have to many spaces between ${myName}. and My favorite, there should be a single space there


Thank you for your help. This worked.