Chapter 5 / 100 Planets

please i need help!!! I got the book and loved it, BUT i got a problem in chapter 5.

When i code this part:

for (var i=0, i<100, i++) {
makePlanet();
}

It tells me this:

Expect ’ ; ’ an instead saw ’ < ’
expect ’ ; ’ and instead saw ’ ) ’

expect an identifier an instead saw ‘;’

and after that it tels this for the next codeline for the console.log this error:
Expect ’ ) ’ to match ’ ( ’ from line 56 and instead saw ‘console’
expect an identifier and instead saw ‘.’.
expect an assignment or function call and instead saw an expression
missing " ; " before statement

i checkt everything but nothing worked, so please help me

Hi!

Your code looks good, you just need to replace the commas in the for loop with semi-colons:

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

-Chris

Tankyou so much. This is so embarrassing. I read it repeatedly for hours and asked friends and no one noticed this tiny little mistake.

No worries! And no need to feel embarrassed. I do the same kind of thing at least once a week. Good programmers have strong debugging skills. Great programmers know when it’s time to ask for help.

Don’t hesitate to ask if you run into problems in the future!

-Chris