# Chapter 5 / 100 Planets

**URL:** <https://talk.code3dgames.com/t/chapter-5-100-planets/582>\
**Category:** Uncategorized\
**Created:** [February 22, 2023, 4:04am UTC](https://talk.code3dgames.com/t/chapter-5-100-planets/582 "2023-02-22T04:04:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lithariel](https://talk.code3dgames.com/letter_avatar_proxy/v4/letter/l/53a042/32.png) [@Lithariel](https://talk.code3dgames.com/u/Lithariel)\
**Post date:** [February 22, 2023, 4:04am UTC](https://talk.code3dgames.com/t/chapter-5-100-planets/582/1 "2023-02-22T04:04:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chris](https://talk.code3dgames.com/user_avatar/talk.code3dgames.com/chris/32/5_2.png) [@chris](https://talk.code3dgames.com/u/chris)\
**Post date:** [February 22, 2023, 4:13am UTC](https://talk.code3dgames.com/t/chapter-5-100-planets/582/2 "2023-02-22T04:13:46Z")

</div>

Hi!

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

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

```

-Chris

---

<div class="post-metadata">

**Author:** ![Lithariel](https://talk.code3dgames.com/letter_avatar_proxy/v4/letter/l/53a042/32.png) [@Lithariel](https://talk.code3dgames.com/u/Lithariel)\
**Post date:** [March 2, 2023, 3:52am UTC](https://talk.code3dgames.com/t/chapter-5-100-planets/582/3 "2023-03-02T03:52:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![chris](https://talk.code3dgames.com/user_avatar/talk.code3dgames.com/chris/32/5_2.png) [@chris](https://talk.code3dgames.com/u/chris)\
**Post date:** [March 2, 2023, 4:12am UTC](https://talk.code3dgames.com/t/chapter-5-100-planets/582/4 "2023-03-02T04:12:26Z")

</div>

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
