Tell us what’s happening:
I keep getting “Your resetGame function should set the playerScore to 0”.
I’ve been stuck here for longer than Id’ like to admit to be honest. not sure if it could be a bug or a typo that I’m somehow not seeing.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
function resetGame() {
playerScore = 0;
computerScore = 0;
playerScoreSpanElement = playerScore;
computerScoreSpanElement = computerScore;
resetGameBtn.style.display = "none";
optionsContainer.style.display = "block";
roundResultsMsg.innerText = "";
winnerMsgElement.innerText = "";
};
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0
Challenge Information:
Review DOM Manipulation by Building a Rock, Paper, Scissors Game - Step 6