question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Waypoint: Generate Random Fractions with JavaScript

See original GitHub issue

Challenge Waypoint: Generate Random Fractions with JavaScript has an issue. User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.7.12 (KHTML, like Gecko) Version/7.1.7 Safari/537.85.16. Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:

function myFunction() {
  // Change the 0 to Math.random().
  // Only change code below this line.

  return 0;

  // Only change code above this line.
}

// We use this function to show you the value of your variable in your output box.
(function(){return myFunction();})();

I couldn’t find a place for the issue I’m having. I can not click on “help” or any of the links att he top right of the page. I click on them and nothing happens The only 2 links I can get to work is the “Freecodecamp” link and “bug” I tried shutting down. I tried reset. This just started like 2 lessons ago I worked find up til then. Any ideas??

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
BerkeleyTruecommented, Oct 28, 2015

Your code has an infinite loop. You are calling myFunction within myFunction.

1reaction
ohmilercommented, Feb 6, 2017

removed solution by mod

Read more comments on GitHub >

github_iconTop Results From Across the Web

Denis Nurboja on Twitter: "I just shredded @FreeCodeCamp ...
Waypoint : Generate Random Fractions with JavaScript http://freecodecamp.com/challenges/waypoint-generate-random-fractions-with-javascript…
Read more >
FreeCodeCamp/Help - Gitter
Waypoint : Make Unique Objects by Passing Parameters to our Constructor ... @hansinla Waypoint Generate Random Whole Numbers With Javascript. [J-me-lay].
Read more >
If Forge Releases before Servers/Desync are Fixed
Maybe we get a blog post with some random numbers how it improved, ... games in CS 1.6 with a ping of 70...
Read more >
KML Reference | Keyhole Markup Language
colorModeEnum, normal, random, See any element that extends <ColorStyle> ... Google Earth 5.0 and later supports full HTML and JavaScript.
Read more >
Free Code Camp - Basic Javascript Flashcards | Quizlet
We tell JavaScript to create or declare a variable by putting the keyword var in front of it, like so: ... Generate Random...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found