Skip to content
Snippets Groups Projects
Commit 037290ed authored by Sarah Fiedler's avatar Sarah Fiedler
Browse files

add dom elements

parent 8b1fdb05
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,8 @@ let computerScore = 0;
const playerScoreElement = document.getElementById("player-score")
const computerScoreElement = document.getElementById("computer-score")
const roundResultsMessage = document.getElementById("results-message")
function getRandomComputerResult(){
const number = Math.floor(Math.random()*options.length);
......@@ -32,4 +34,4 @@ function getRoundResults(playerChoice){
}
}
console.log(playerScoreElement)
console.log(document)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment