A for loop will not stop

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.

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.


1 Like

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