diff --git a/8-trifecta/42-mood-ring/script.js b/8-trifecta/42-mood-ring/script.js index 5b45a23..38d6de6 100644 --- a/8-trifecta/42-mood-ring/script.js +++ b/8-trifecta/42-mood-ring/script.js @@ -3,7 +3,7 @@ const stone = document.getElementById('stone'); -const randomNumber = Math.floor(Math.random() * 10) + 1; +const randomNumber = Math.floor(Math.random() * 9) + 1; if (randomNumber === 1) { stone.style.backgroundColor = "red";