String Interpolation II Variables Issue


I’m literally doing exactly what it says “Did you interpolate your name and favorite city using ES6 string interpolation?”

This is my code;

let Name = 'Matthew'; 
let City = 'Victoria'; 
console.log(`My name is ${Name}. My favourite city is ${City}.`);

I have back ticks inside either bracket, I don’t know why it’s not showing them.


can you share the exercise url so we know what exercise we are at

the variable names could be case-sensitive, try city and name. javascript recommends cammelcase, which means if we have a variable like city, that its all lowercase, but if the variable consist of two words (thisVariable) that the second word (and onward) start with capital letter.


Thanks so much! It worked :slight_smile: