generate random numbers between values code example
Example: how to generate a random number between certain values
// How to generate a random number between specific values:
// Math.floor() rounds its argument down to the nearest whole number.
//Math.random() generates a float value between 0 and 0.999999999999999999999999
var highnum = 10 //Type your highest number here.
var lownum = 1 //Type your lowest number here.
var randomnumber = Math.floor(Math.random()*highnum + lownum)