Tell us what’s happening:
Describe your issue in detail here.
Step 54
Just like array values, object properties are separated by a comma. Add a comma after your name
property and add a button text
property with the value of an empty array.
Note that, because the property name has more than one word, you’ll need to surround it in quotes.
Please someone help, I don’t really understand this step.
Your code so far
const locations = [
{
name: “town square”,
}
];
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 54