I’ve been studying Javascript on codecademy.com and was inspired to make a virtual dice today! var diceRoll = function(number){ return Math.floor(Math.random()*number + 1) } It might not look like much but it creates a function called diceRoll, which I can add any number of sides to and it will output a random number from 1 …