Lean basic javascript by building a role playing game - step 57

[learn basic javascript by building a role playin game - step 57](https://learn basic javascript by building a role playin game - step 57)

Blockquote
const locations = [
{
name: “town square”,
“button text”: [“Go to store”, “Go to cave”, “Fight dragon”]
}
{
“button functions”: [button1.onclick = goStore, button2.onclick = goCave, button3.onclick = fightDragon]
}
];

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Hi @malvo

SyntaxError: unknown: Unexpected token, expected “,” (24:2)

There is a syntax error in your code.

You will have to fix that first. There is also another error to fix.

For next time, describe the issue in your own words. Learning to communicate problems is a part of becoming a web developer.

Happy coding