Help!


#1


https://www.codecademy.com/courses/javascript-beginner-en-NhsaT/1/3?curriculum_id=506324b3a7dffd00020bf661#


"Oops, try again. Your loop didn't log 100 to the console!" is the exact error message. I'm not sure what is wrong.


for(i=100; i<0; i-=5){
    console.log(i);
}


#2

your loop condition:

i<0

for i=100 this condition is false, so the loop never runs. You want the loop to run while i is greater zero


#3

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