Review DOM Manipulation by Building a Rock, Paper, Scissors Game - Step 6

Tell us what’s happening:

It keeps failing me and I can’t seem to figure out why. The game seems to reset the score but anything after the Score reset seems to not work.

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

function resetGame() {

  playerScore = 0;
  computerScore = 0;
  playerScoreSpanElement.innerText = playerScore;
  computerScoreSpanElement.innerText = computerScore;
  resetGameBtn.syle.display = "none";
  optionsContainer.syle.display = "block";
  winnerMsgElement.innerText = "";
  roundResultsMsg.innerText = "";
};

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36

Challenge Information:

Review DOM Manipulation by Building a Rock, Paper, Scissors Game - Step 6

have you tried to open the console to see the error messages?

if you read through the console you will see you have a problem with a typo on the lines that try to set the display