Tell us what’s happening:
Hi fam. I have been steering at this code for some time now.. I can’t seems to think what could be the problem.. I need explanation to this.. it’s not working
Your code so far
<!-- file: index.html -->
/* file: script.js */
// User Editable Region
const playerScoreSpanElement = document.getElementById("player-score");
const computerScoreSpanElement = document.getElementById("computer-score");
const roundResultsMsg = document.getElementById("results-msg");
function showResults(userOption) {
playeScoreSpanElement.innerText = playerScore;
computerScoreSpanElement.innerText = computerScore;
roundResultsMsg.innerText = roundResults;
};
showResults("Rock");
// User Editable Region
/* file: styles.css */
Your browser information:
User Agent is: Mozilla/5.0 (Linux; U; Android 12; en-ng; CPH2387 Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36 PHX/16.8
Challenge Information:
Review DOM Manipulation by Building a Rock, Paper, Scissors Game - Step 4