Generate Random Fractions with JavaScript/ My code passed

Generate Random Fractions with JavaScript/ My code passed
0

#1

Tell us what’s happening:

My code passed I just want to know if this is it or am I missing something?

Your code so far


function randomFraction() {

  // Only change code below this line.
 var value = Math.random();
 return value;


  // Only change code above this line.
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/generate-random-fractions-with-javascript


#2

That’s it!

You generated a random number and it passed the test.


#3

Thank you @shimphillip :smiley: