Javascript lesson 5 - generating random numbers

Channel:
Subscribers:
65,900
Published on ● Video Link: https://www.youtube.com/watch?v=pEs15FM1ue8



Duration: 7:59
9,104 views
39


In this lesson we improve on our quiz by generating 2 random numbers using the Math.random() function to make up the maths question. We then check our answer against the 2 variables to see whether we got it correct. A random maths addition quiz created!

Download source file at: http://magicmonk.org/javascript







Tags:
create a quiz javascript
javascript quiz creation tutorial
javascript random number generator
javascript tutorial