Javascript lesson 5 – generating random numbers

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!