Stuck on MyName and MyCity excercise

I executed the code with backticks but I cannot figure out why I’m getting an error message. Can anyone tell me what I’m doing wrong?

let myName = ('Richelle');
let myCity = ('Portland');

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

Parens are not needed, and should not be used.

let myName = "Richelle";
let myCity = "Portland";
1 Like

Ah! Gotcha! Thank You!

1 Like

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