8 Last practice for Loop


#1

// Write your very own for loop!

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

Gives me did not log 100.

HELP Please!!


#2

Hi this part

console.log = (i)

Remove the = after console.log
And refresh the page.


#3

Thanks didn't know the refresh the page trick.


#4

This is what you need to put:
for (var i = 100; i >=1; i-=5) {
console.log(i);
}