Name and city exercise - stuck


#1

Where is mistake?? Cannot find :confused:


let myName = 'Joanna';
let myCity = 'Warsaw';
console.log(`My name is ${myName}. My favourite city is ${myCity}.`);

#2

We cannot specifically identify the error without a link to the exercise.

I’d bet it is the British spelling.


#3

OO sorry. I am first time asking for help here :slight_smile:

https://www.codecademy.com/courses/learn-javascript-introduction/lessons/variables/exercises/string-interpolation-ii?action=lesson_resume&course_redirect=introduction-to-javascript


#4

@mtf was obviously right, it’s the British spelling.

You wrote favourite, it should be favorite.


#5

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