String Interpolation won't let me pass


The page won’t let me go on. The error message is “Did you interpolate your name and favorite city using ES6 string interpolation?” even though I have already used it. It prints correctly to the console “My name is Finn. My favorite city is Northglenn.” What can I do? I really want to go on and am very frustrated.

const myName = 'Finn';
const myCity = 'Northglenn';

console.log(`My name is ${myName}.  My favorite city is ${myCity}.`)


I figured it out. It’s because I put two spaces between the period and the capital letter of the next sentence, and they only put one.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.