# Plz help(problem with code from chapter 19)

**URL:** <https://talk.code3dgames.com/t/plz-help-problem-with-code-from-chapter-19/342>\
**Category:** Uncategorized\
**Created:** [August 3, 2021, 11:48am UTC](https://talk.code3dgames.com/t/plz-help-problem-with-code-from-chapter-19/342 "2021-08-03T11:48:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 3, 2021, 12:07pm UTC](https://talk.code3dgames.com/t/plz-help-problem-with-code-from-chapter-19/342/2 "2021-08-03T12:07:10Z")

</div>

The JavaScript console does not clear out errors as you make changes. If you reload the 3DE web page, many of those will go away. It looks like the most recent error is:

```auto
code.html:59 Uncaught ReferenceError: shapeshape is not defined
at addGround (code.html:59)
at code.html:45
at _.html:10

```

That is reporting that the code is trying to do something with a variable named `shapeshape` on line 59, but there is no such variable (`shapeshape is not defined`). I suspect that you need to change that to just `shape` on line 59 to fix the current problem.

Unfortunately, this forum seems to have lost your code, so I cannot be sure what the problem is. Sorry about that, this forum can be quite picky about including code. If you are still having problems after changing the `shapeshape` variable, please try sharing your code again as described in [this welcome post](https://talk.code3dgames.com/t/welcome-to-3d-game-programming-for-kids-read-this-first/8). That is, either use the Share option in 3DE, or copy & paste your code in between “3 backtick lines”

````
Explain how your code is misbehaving...

```
// Paste your code here
```

Include any more information that you like here...

````

-Chris

---

_[View the full topic](https://talk.code3dgames.com/t/plz-help-problem-with-code-from-chapter-19/342)._
