diff --git a/index.html b/index.html index 1d5644cc338fbfdcf955665b870cb68724690eca..bffce1b85f0b2098ac3317f2a764133cbed605fd 100644 --- a/index.html +++ b/index.html @@ -10,8 +10,8 @@
-
😶
-
🤖️
+
+
diff --git a/script.js b/script.js index bdfd3753263428c666f54eee4af355defca9b405..a8d9d37230fef2271e224107a333d80b9d3140fa 100644 --- a/script.js +++ b/script.js @@ -21,12 +21,10 @@ function playTurn(choice) { const outcomeMessage = determineOutcome(playerChoice, computerChoice); document.getElementById("choices").innerHTML = iconsHTML; document.getElementById("outcome").innerHTML = outcomeMessage; - const playerIcon = document.querySelector("#player-icon div"); - playerIcon.style.color = "#3498db"; - playerIcon.style.fontSize = "6rem"; - const computerIcon = document.querySelector("#computer-icon div"); - computerIcon.style.color = "#e74c3c"; - computerIcon.style.fontSize = "6rem"; + const playerIcon = document.getElementById("player-icon"); + playerIcon.innerHTML = '😊' + const computerIcon = document.getElementById("computer-icon"); + computerIcon.innerHTML = '🤖️' }