5/13 Window crashes


Here's what typed:

for (var i = 5; i < 55; i+5) {

When I submit the code, the page is unresponsive and Chrome prompts me to kill the page. Is there something wrong with the code itself or is my computer just not able to handle it?


You have created an infinite loop, which will crash your browser.
To fix this, your loop should be:

for (i = 5; i < 55; i += 5) {

The problem is that to increment i you need += not just +.


Thank you for your help!


Welcome! Just post anytime, and if I see it I will help!