Cool issue in the "Role play Game" step 52

In the first lesson in the JavaScript curriculum on step 52, if you type “const location = [ ];” instead of “const locations = [ ];”, the preview window will mirror the webpage. I’ve attached an image to show this.

Does anyone know why this happens?

There’s issue open about this behavior, it has some context about the problem origin:

1 Like

I had a similar problem, try to refresh the page and after that it works:
const locations = [ ];

you forget to put the letter ‘s’ in the word location.

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