Did you remember to count up by 12s?


#1

im getting error please help me

var count=0
for (var i = 8; i < 120;i++) 
	   {
	       
	       console.log(i);
	   }
	   for(var i=8;i<120;i++){
	       
	       if(i<120){
	       	       console.log(i=i+12)
	                console.log(i)
	       }
	   }

#2

Just out of curiosity, what are you doing?

Lets say i have a normal loop:

for (var i = 0; i < 10; i++)

i++ is a shorthand for i += 1 which is a shorthand for i = i + 1, but in this exercise we don't want steps of one, we want steps of 12:

for (var i = 8; i < 120; i += 8)

now you can just log i to the console, and you are done