Now, set the innerText property of monsterName to be the name property of the current monster. Do the same for monsterHealthText and the health property.
Look at the instructions again, it’s not asking them to be the same.
set the innerText property of monsterName to be the name property of the current monster
Do the same for monsterHealthText and the health property.
So, set the innerText property of monsterHealthText to be the health property of the current monster. It wouldn’t make sense to set the monster health to the name, right?
Please don’t post the solution code in the forum though, don’t want to spoil it for others who are trying to learn and don’t want to see the answers accidentally.
It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.
We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.