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:
You can just clear your cookies in your browser. This worked for me.
Alternatively, you could…
- Navigate away from the page
- Navigate back to your code
- Optionally, save your progress by copying it out of the site’s editor
- Hit “Reset”
- 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