Lesson

Generate Random Whole Numbers with Javascript, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we continue last challenge and look at generating random whole numbers with javascript. Javascript can generate whole numbers with a combination of functions. When you combine Math.floor() with Math.random() you can generate a whole number in javascript.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: