JavaScript Tutorial: Random Numbers




During coding in JavaScript, you may need to add a random factor to the whole thing. This tutorial will show you how.

The first half of the video is explanation of the code, while the second half contains examples. Feel free to skip around if you only want to see one part or another.

Original source


11 responses to “JavaScript Tutorial: Random Numbers”

  1. Can you please help me to understand the PURPOSE of using random numbers? I am teaching this for the first time and I am a visual learner. I have to see the end result. Thank you!! Great video!

  2. Your video kind of helped with a project in one of my classes but I have a different problem. The problems is that I have is that I have a drop down menu that I want to connect arrays of different types to them. So the end produce is that someone could pic a thing from the drop down menu and hit a button then a random name will come up. 

Leave a Reply