Suck in for loop can't stop at point 50 help me!


Here is code description:

This code counts every number from 0 to 35.
Make it start counting from 5. Please!
Stop the counting when it prints out 50.
Only count every fifth number. So we want to increment i by 5.

Here is my code:
i don’t know how to stop counting when it prints 50: also it gives this error.
Oops, try again. Your for loop logged 0 to the console, but shouldn’t have!

what i do?

for (var i = 0; i < 100; i+=5) {




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