Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Introducing JavaScript Let's Make a Game Doing Things With Functions

I am not getting more coins or platforms when I add them.

I am practicing writing code at the end of the lesson where the instructor said to practice adding 9 coins and 9 platforms. After writing the code and previewing, the game is a blank screen. All the code looks to be right. What could I be missing?

2 Answers

Steven Parker
Steven Parker
218,639 Points

It could easily be a syntax error caused by a misspelling or misplaced symbol. If you'd like help spotting the issue you'll need to share your code. The best way to do that is to make a snapshot of your workspace and post the link to it here.

Steven Parker
Steven Parker
218,639 Points

That's a link to your user profile — were you intending to post a link to a snapshot?