Iterate Odd Numbers With a For Loop, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn how to iterate odd numbers with a for loop in javascript. In javascript we can iterate odd numbers by initializing our count (i) to 1 then incrementing i by 2 each time it goes through the loop.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required