Tell us what’s happening:
EVERYTIME I CHECK THIS CODE IT TELL ME SOMETHING NEW IS BROKEN
Your code so far
let fortune1 = "Your cat will look very cuddly today.";
let fortune2 = "The weather will be nice tomorrow.";
let fortune3 = "Be cautious of your new neighbors.";
let fortune4 = "You will find a new hobby soon.";
let fortune5 = "It would be wise to avoid the color red today."; // 1-5 randomly breaks tests??
let randomNumber = Math.floor(Math.random() * 5) + 1
console.log(randomNumber) //step 7 broken??
const selectedFortune = randomNumber; //slectedFortune /= randomNumber???
if (randomNumber == 1){selectedFortune = fortune1}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 OPR/132.0.0.0 (Edition std-2)
Challenge Information:
Build a Fortune Teller - Build a Fortune Teller