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 Finishing the Game Control the Flow with Conditional Statements

coin collector game keeps freezing

the name of the track is Control the Flow with Conditional

cross check the else if statement for the poison.... else if(item.key === 'poison'){ currentScore = currentScore - 25; }

2 Answers

Robert Leonardi
Robert Leonardi
17,151 Points

Hi jayed stokes,

WHy don't you explain a bit more detail? How did you come up with this situation? Which instruction within this video did u freeze? or When exactly did u freeze when u play it ?

try using another browser, jayed stokes, or show your code so we can help you find the problem.