My beginner Number-growing code stopped working?

What errors are you seeing? Are they possibly the same as in Error: Multiple infinite loops detected. Stopping execution. at undefined:2:33088 _ how do I resolve this? (which would have the same fixes?)