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

Hi community am lost with this task i really dont understand this task

My code so far

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

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

Challenge Information:

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

The button text and button function should have three array elements with same strings
“button text” : [“X”, "X, “X”] etc…

1 Like

it was very helpful thank you i have solve the problem.

2 Likes

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