A for loop will not stop

A for loop will not stop
0

#1

There is a for loop function in the lesson “Iterate odd numbers with a for loop”, but it is running indefinitely. I’ve tried stopping it by refreshing the page but it does not work. The page automatically freezes now, and I can’t do anything save for exiting out of the page.


#2

You need to reload the challenge but add ?run=disabled to the end, so that the challenge does not automatically run when the page loads. Then, you must fix your infinite loop and then you can run the tests when you feel it works again.

https://www.freecodecamp.org/challenges/iterate-odd-numbers-with-a-for-loop?run=disabled


#3

I used #?run=disabled and it worked.
Thanks for the help!