Hi guys, I kindly need your help with Last practice for loop


#1


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


I get:
Your loop didn't log 100 to the console!

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


#2

Sorry for stealing your time, I was extremely unattentive. Fixed.

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


#3

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