Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

I have hard time to add coins in the bonus game.

Hi everyone, I have hard time to add coins in the bonus game. The bonus game it doesn't have coins initially, and I want to add coin in it. I've add the variable, the function, and the call of the function, but when I preview it is just the background colour without any elements like star poison or platforms. Here is my snapshot trying to add the coins in the game. https://w.trhou.se/e6u5w1wgr9 Please if you have any suggestion I will happy to try. Thank you

2 Answers

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,254 Points

The problem is in your game.js file.

In line 68 you need to use the animations property. Use the plural instead of "animation". Good luck :)

Thank you...It worked. Thank you