Generate Random Fractions with JavaScript – Free Code Camp

In this basic javascript tutorial, we generate a random fraction. To do it, we use Math.random() function. This gives us a number between 0 and 1. Well, not 1…. but almost one.

This is a video in a long series of videos where I dive into the FreeCodeCamp curriculum. Please feel free to visit FreeCodeCamp.org and go through the coursework with me. Enjoy!

Posted in Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>