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

Tell us what’s happening:

There is no mistake in my syntax, I’ve searched for it, in many forums and YouTube channels and communities. my answer is correct.

Your code so far

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

/* file: styles.css */

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

function resetGame() {
  playerScore = 0;
  computerScore = 0;
  playerScoreSpanElement.innerText = "0";
  computerScoreSpanElement.innerText = "0";
  resetGameBtn.style.display = "none";
  optionsContainer.style.display = "block";
  winnerMsgElement.innerText = "";
  roundResultMsg.innerText = "";
};

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0

Challenge Information:

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

1 Like

Instead of zero, try setting these to the corresponding player score and computer score variables.

Hello,
check the last line, the variable is called roundResultsMsg , it is missing a letter

Also this should be roundResultsMsg

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.