Loop for interaction broken


#1

Hey guys,
I'm having some grief with the Save & Submit button.
Every time I swap the code around and click Save & Submit the page crashes and forces me to either wait or kill it.
Is this on you end or is there anything I can do to solve the problem?


#2

Are you sure you're not creating a neverending loop?


#3

I'm not sure.
This is my code:
for (var i = 5; i < 51; i+5) {console.log(i);}
As far as I can tell it's closed but I'm still learning.


#4

Hi here

for (var i = 5; i < 51; i+5)

this part i+5 should be like that i +=5


#5

You good sir are a legend. Thanks for your time guys.