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

Random Array Index Project

Hello, I am not sure what I am doing wrong. My Play button is not functioning when I save and view my game, and also I keep getting an error message for syntax on line 39. Uncaught SyntaxError: Unexpected token '{' script.js:39

39 playBtn () {

Thanks for your response Stephen. I have to have this thing completed by tomorrow. I am stressed! Please help me. https://teamtreehouse.com/workspaces/41335999

Stephen you will find that I have deleted the line all together. . Now it says that I have an error at line 60. Ugh!

Steven Parker
Steven Parker
229,785 Points

That's a temporary (already expired) workspace link. You need to use the snapshot function to make a persistent one you can share. The blue word in my first post is a link to a video with instructions.

1 Answer

Steven Parker
Steven Parker
229,785 Points

Please show your code or make a snapshot of your workspace and post the link to it here.