This forum is now read-only. Please use our new forums! Go to forums
INFO: There is a bug in this module that may be frustrating you.
When the page loads, after about a minute or two (I didn’t time it), it pops up a message about the program taking too long to run and to check that you didn’t put an infinite loop in your code. After this pops up, you can’t submit your code.
The solution is to copy all your code, reload the page, select all, and paste in the good code before the bug has has a chance to pop up the window. 1.4, at least, has the same problem and solution.
Answer 52351add80ff33959900655d
thanks for the info tho…I was getting tired of this as well
Answer 5241e781f10c60b9d4005ea4
Answer 523b4120abf82138cc000898
i noticed, i couldnt figure out the bug
for ($i = 10; $i < 101; $i = $i + 10) { echo $i; }
Answer 523e4c5280ff33eea9005533
Thanks so much for posting this. I knew my code was right (even copy pasted the for loop from the previous section to double check). Copied my code, reloaded the page, pasted it back in and hit submit and it all went swimmingly.
Pretty sure Jimmy Pants is right about why it happens. The thing is, in the Javascript track, they managed to avoid this problem pretty easily, so why didn’t they do the same thing here?
Answer 527820e6f10c60173e007a4c
Answer 527a64ca80ff33ee270006f2
Answer 54256ccf7c82ca4a9500295f
Answer 55d0c5b5e39efee2510003aa
I encountered this same issue, and none of the solutions in this message worked for me. I advanced the lesson to 4/7 using the drop down menu. I was able to paste my code there, and checked the results in the output.
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
3 comments
I notice they actually mention this explicitly a couple of problems later, but when it happens the first few times you are only told it will happen by implication.
… so technically, it’s not a bug - I believe that while typing in the conditions for the while loop, its dynamic interpretation grabs onto some part of your formula that it interprets as it if were the whole formula, and then tries to show the result of that infinite loop in the preview window (same process that makes all your html code display as you go). I’m just speculating, natch - I’m a student. But I’m pretty sure the code of the site itself is bug-free and works exactly as intended. Just not completely, what’s the wrod… robust. :>
I’m so thankful for these forums!