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

Step 71
I’ve been stuck on this for a while and it keeps saying:
" Your button functions property should have the function values fightSlime , fightBeast , and goTown ."

 {
     name:"cave",
     "button text": ["Fight slime","Fight fanged beast","Go to town square"],
     "button functions": ["fightSlime","fightBeast","goTown"],
     text:"You enter the cave. You see some monsters."
   }

These shouldn’t be strings

they are references to functions

once you fix that, then it will pass

1 Like

thanks! was stuck on this for a while. i definitely need to take a break now and slow down.

1 Like

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