Tell us what’s happening:
I found that this step was once previously fixed. However in the rewriting of the lesson a mistake was made. Instead of being able to simply write, “You die.” the lesson considers this an error and instead makes you write, “You die. ”. This is not a major issue for me but instead a shoutout to the amazing team behind this website to notice. Thanks freeCodeCamp!
Your code so far
Code:
{
name: “lose”,
“button text”: [“REPLAY?”, “REPLAY?”,“REPLAY?”],
“button functions”: [restart, restart, restart],
text: “You die.”
},
Error mesage:
Your sixth locations
value should have a text
property with the value "You die. ☠"
.
Challenge Information:
Learn Basic JavaScript by Building a Role Playing Game - Step 136