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 Introducing JavaScript Let's Make a Game Modifying Values

Every time I complete task 2, it says task 1 is no longer passing. Even though I had not touched that line of code

platforms.create(300, 200, 'platform');
platforms.create(400, 450, 'platform2'); platforms.create(100, 450, 'platform');

1 Answer

You are supposed to only modify the string to 'platform2'. Line 25 should look like this : platforms.create(400, 450, 'platform2')