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

Tell us what’s happening:

Can’t understand what is possibly going wrong. I have followed the instructions and written this code:
function showResults(userOption, roundResultsMsg) {
roundResultsMsg.innerText = getRoundResults(userOption);
playerScoreSpanElement.innerText = playerScore;
computerScoreSpanElement.innerText = computerScore;
}
showResults(“Rock”);

Your code so far

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

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


function showResults(userOption, roundResultsMsg) {
  roundResultsMsg.innerText = getRoundResults(userOption);
  playerScoreSpanElement.innerText = playerScore;
  computerScoreSpanElement.innerText = computerScore;
}
showResults("Rock");


// User Editable Region
/* file: styles.css */

Your browser information:

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

Challenge Information:

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

Why do you have 2 parameters here?

I thought I’d need to refer to the second one, so the function knows what I’m talking about. Tried this after not changing the parameters after multiple attempts.

roundResultMsg is created on line 34, if you create a function parameter with that same name you are no more referencing that element