Need help on Javascript


#1

Idk how to "Only count every fifth number by incrementing i up by 5."


#2

Without seeing any code or the question, we can only guess at what is needed here. Let's cover an example and see if you can go from there...

for (var i = 5; i <= 50; i += 5) {  // i = i + 5 => step value
    console.log(i);
}

Output

5      // initial value
10     // after a step of 5
15
20
25
30
35
40
45
50