I was stuck here too with the same error… good time to learn about . innerText and .innerHTML. The error is confusing because it makes you wonder there’s something wrong with the variable, but it’s got to do with the last two lines itself. It becomes even clearer when you play the game and might spot something unusual when you reset it. All the best
Oh that was the problem. I kept changing the playerScore and computerScore variables, not knowing I did not add .innerText to the roundResultsMsg and winnerMsgElement. I’ve been stuck on this project for 2 days
Thanks
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.