Tell us what’s happening:
I am not sure why my code is not passing. I am not seeing any typo’s or syntax issues. Can someone spot the issue and show me. I have been stuck on this for several hours. Its saying my code wont pass because i have to set the playerScore to 0. I did that.
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.style.display = 'none'
optionsContainer.style.display = 'block'
winnerMsgElement.innerText = ''
roundResultMsg.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/125.0.0.0 Safari/537.36
Challenge Information:
Review DOM Manipulation by Building a Rock, Paper, Scissors Game - Step 6