Build a Fortune Teller - Build a Fortune Teller

Tell us what’s happening:

I am here again people! I need help!

The user story no. 9 of this project isn’t compliant; on my part I have tried all I can to comply but it seems I lack the full information, so help me people;

Your code so far

const fortune1 = "Your cat will look very cuddly today.";
const fortune2 = "The weather will be nice tomorrow.";
const fortune3 = "Be cautious of your new neighbors.";
const fortune4 = "You will find a new hobby soon.";
const fortune5 = "It would be wise to avoid the color red today.";


const max = 5;
const min = 1;
const randomNumber = Math.round(Math.random() * (max - min) + min);
console.log(randomNumber);

const selectedFortune = randomNumber;

if(randomNumber == 1) {
  console.log(fortune1);
} else if(randomNumber == 2) {
  console.log(fortune2);
} else if(randomNumber == 3) {
  console.log(fortune3);
} else if(randomNumber == 4) {
  console.log(fortune4);
} else {
  console.log(fortune5);
}

console.log(selectedFortune);


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36

Challenge Information:

Build a Fortune Teller - Build a Fortune Teller

The value of selectedFortune needs to be a string and not a number.

in what way are you giving to the selectedFortune variable the value of one of the 5 fortunes?