Whats wrong?


This code isn't doing anything. Shouldn't this count to nine?

for (var i = 0; i >= 9; i++) {


Your ">=" should be "<=" instead.


I have tried playing around with your code and from what I can tell is that you are 1 third right and two thirds wrong. First off, you need to have var i = something other than 0 because that starts off at 1. You need to start off at 5. And as @lev suggested and he is correct you need to flip your sign around in that matter.


haha I always forget that that part is the like the condition, Thanks!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.