Review Algorithmic Thinking by Building a Dice Game - Step 3

Tell us what’s happening:

I have been trying to solve this for about 1 hour but its not passing the out is show NaN what am i doing wrong please help out

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

rollDiceBtn.addEventListener("click",()=>{
  
  for(let i=0;i<5;i++){
    diceValuesArr[i]=Math.floor((Math.random)*6+1);
  }

  listOfAllDice.forEach((die,index)=>{

    die.textContent=diceValuesArr[index]
    
})

})

// User Editable Region

Your browser information:

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

Challenge Information:

Review Algorithmic Thinking by Building a Dice Game - Step 3

Thank you for seeing this but i have found the typo