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 mad... (what is the DOM?)
Tutorial 2 - • JavaScript Variables: ... (declaring variables)
Tutorial 3 - • JavaScript IF-ELSE & L... (conditional logic)
Tutorial 4 - • JavaScript Functions: ... (functions)
Негізгі бет JavaScript Maths: Programming your 1st Quiz GAME is Really Exciting!
Пікірлер