Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialIsaac Hughes
3,711 PointsDoes this work or will it cause issues
So i went about and setup the code different than what was shown for the minimum and maximum number specifically on the output
var output=Math.floor(Math.random(numberLow)* numberHigh)+1;
I tried this using 1 and 3 as the random numbers and was able to get all three numbers seemingly randomly. I also used other numbers and it seemed to work as well, would the way that i did this be a valid way to do it or would this eventually cause problems.