I’ve been watching (and following step-by-step) the Full Stack Web Development for Beginners video posted by freeCodeCamp.org on YouTube and currently I’m at the stage where he’s making an RPG game using HTML, JS and CSS. After making additions, updates etc he says to run the game to test it but I keep coming across this same error. He tests the code @ 4:26:55 time stamp and I followed the same steps as he does, yet he doesn’t get any errors.
It appears that somehow you may have used a character that looks really similar to one of the letters, but is actually different. When I did Ctrl+F to find it, it showed up as different from where you defined it. I would just copy the text from where you defined it and paste it into the other places.