Learn Basic JavaScript by Building a Role Playing Game - Step 135

Tell us what’s happening:

the answer is incorrect again. this is my answer.
text: ‘The monster screams “Arg!” as it dies. You gain experience points and find gold.’
I even cheat and look at next step. still not working LMAO. event AI copilot is confused.

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

  {
    name: "kill monster",
    "button text": ["Go to town square", "Go to town square", "Go to town square"],
    "button functions": [goTown, goTown, goTown],
    text: "The monster screams Arg! as it dies. You gain experience points and find gold."
  },
  {
    name: "kill monster",
    "button text": ["Go to town square", "Go to town square", "Go to town square"],
    "button functions": [goTown,goTown,goTown],
    text: 'The monster screams "Arg!" as it dies. You gain experience points and find gold.'
  }

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0

Challenge Information:

Learn Basic JavaScript by Building a Role Playing Game - Step 135

Have you tried leaving just a single object with name "kill monster"?

that’s not the answer. it needs full object like others. somehow

i reset and do it over again for many times and pass.

HAHA :evergreen_tree: :evergreen_tree:

you should have only one of these two

Something I found was that Chrome doesn’t like having the double-quotes embedded inside of single-quotes. I changed my browser to Edge and retried the exercise, and it worked, no issues.

A bit frustrating that there’s apparently nothing about this anywhere else.