String Interpolation II

I’m getting an error asking “Did you interpolate your name and favorite city using ES6 string interpolation?”. Even though my code has done that and the console is printing exactly what it should. Is the console not printing what it should? Why am I getting this error? Console prints - My name is Ryan. My favorite city is Seattle

let NAME ='Ryan';
let CITY ='Seattle';
console.log(`My name is ${NAME}. My favorite city is ${CITY}`);

you missed a . at the end


Thank you for helping me solve this.

1 Like

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