Exc8: need help on this one


Not sure what im doing wrong here, but this is my code below.

for (var i=8;i<120,i+=12){

var great = true;
console.log("i'm doing a great job!");
great = false;


You have a comma, where it should be a semicolon.


Your for loop is

It should be:

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

You had a comma , instead of a semicolon ;


Fixed it. thanks cssblaster.


You're right cadecodes, it works.