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