Disable Code Auto Run on Free Code Camp

By default, the Free Code Camp site automatically loads and runs your last recorded solution. If you have accidentally created an infinite loop or other irrecoverable error or simply don’t trust the code, you can disable code auto-run by putting the following in your URL: run=disabled

Example:

URL: http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?solution=function%20meetBonfire(argument)

No-Run URL: http://www.freecodecamp.com/challenges/Algorithm-meet-Algorithm#?run=disabled&solution=function%20meetBonfire(argument)

2 Likes

You can just clear your cookies in your browser. This worked for me.

Alternatively, you could…

  • Navigate away from the page
  • Turn off your browser’s Javascript
  • Navigate back to your code
    • Optionally, save your progress by copying it out of the site’s editor
  • Hit “Reset”
  • Turn your browser’s Javascript back on
  • Refresh the page

Did not work for me at first. But then I cleared cookies as well, and the page was reset. That was the only way it worked.

This should probably be stated a little more clearly. If you add “#?run=disabled” to the end of the web address, it will work. For example: https://www.freecodecamp.com/challenges/sum-all-odd-fibonacci-numbers#?run=disabled

4 Likes