Loop doesn't log in numbers to the console


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/javascript-beginner-en-NhsaT/1/2?curriculum_id=506324b3a7dffd00020bf661

<In what way does your code behave incorrectly? Include ALL error messages.>
“Oops, try again. It looks like your loop didn’t log 10 to the console.”

(I’m stuck here, and I realy don’t know what’s the problem. I didn’t have this problem in the lasts exercices… )



for (var i = 10; i = 0; i = i -= 1) {
    console.log(i);
}



#2

Various errors.

(var i = 10; i >=0 ; i -=1)


#3

Oh i get it, the (var i = 10; i >=0 ; i -=1) represent all the numbers that will be shown in the console? I tought it meant where to stop the counter. Thank you!