Build a Rock, Paper, Scissors Game - Step 8

Tell us what’s happening:

I don’t know what I’m doing wrong here. I keep on getting this message: “Your showResults function should update the roundResultsMsg with the result of the round.”

Your code so far

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

/* file: styles.css */

/* file: script.js */
// User Editable Region
function showResults(userOption){
  roundResultsMsg = getRoundResults(userOption)
  playerScoreSpanElement = playerScore
  computerScoreSpanElement = computerScore
}
// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.0.0 Mobile Safari/537.36

Challenge Information:

Build a Rock, Paper, Scissors Game - Step 8

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-rps-game/66cf34fcb005e7b447141afd.md at main · freeCodeCamp/freeCodeCamp · GitHub

remember some of your variables are for html elements, and to update the content of an element you can’t just assign a new value to the variable

Thank you :blush: :blush: I already fixed it