What am I coding wrong in "Introduction to 'For' Loops in JS 8/13"


#1

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


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

I think I'm coding it right but I'm still getting " SyntaxError: missing ) after for-loop control " error


#2

Then presumably you've put something in front of the ) that isn't allowed to come until later.


#3

thank you i shuld have put a " = " after " - " in front of " ) ".


#4

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