This is the final tutorial of the JavaScript Jumpstart series… and we program our own maths quiz game. The user is prompted to type in the answer, and then their fate lies in the hands of the browser’s response.
JavaScript’s ”Math” object provides us with various functionality, such as rounding a number to a fixed number of decimal places; finding the square root; raising to the power of; trigonometric functions; finding the maximum or minimum value in a list of numbers; and generating random numbers.
00:00 - JavaScript maths string concatenation
03:12 - Math object & variable functions in JS
06:35 - The most popular Math functions in JS
11:43 - Programming our maths quiz in JS
17:43 - Programming maths quiz 2nd function
22:40 - Resolving precision check issues
Tutorial 1 - • JavaScript DOM: It made me FEEL really CON... (what is the DOM?)
Tutorial 2 - • JavaScript Variables: They're really ALL t... (declaring variables)
Tutorial 3 - • JavaScript IF-ELSE & Loops: How to Easily ... (conditional logic)
Tutorial 4 - • JavaScript Functions: Grasp the BASICS – B... (functions)