scrimba
Frontend Career Path
Making websites interactive
Blackjack
Using Math.random() and Math.floor() to create a dice
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Using Math.random() and Math.floor() to create a dice
AboutCommentsNotes
Using Math.random() and Math.floor() to create a dice
Expand for more info
index.js
run
preview
console
let randomNumber = Math.random() * 6

console.log(randomNumber)

/*

Write down all the possible values randomNumber can hold now!




*/
Console
/index.html
-1:40