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 Treehouse Club - MASH MASH - JavaScript Stuff You Can Change

My code is not responding when I click the submit button in my browser. really need help with this.

After editing my code and try to click on the submit button, nothing seems to be working. don't know what went wrong. Also, if everything is working correctly, are the answers going to appear in the blank spaces in the browser when I click on the submit button or the blank spaces will always remain blank? please I really need help with this. Am so new in to coding if anyone can work me through this.

here is my snapshot: https://w.trhou.se/saz8kj8ypu

hello guys needing help, trying to creat a java folder so my script.js can be a sub folder under it but i dont no how to go about it. i think if i do this then my code might work. will really apreciate your help guys.

One more thing please, how can i copy and past the link of my snapshot in my comment folder for help. thanks guys.

To make a snapshot click the camera icon in the upper right corner of the workspace then click 'Take Snapshot' and post the link created here. You may have to click the link and copy it from your address bar.

2 Answers

Steven Parker
Steven Parker
231,275 Points

Here's a few hints:

  • the code on lines 32-35 is looking for ID's that don't exist in the HTML (like "location", "family", etc.)
  • there are ID's in the HTML that are similar but don't match because of upper-case letters
  • the code on line 54 is calling a function named "location_choice" that has not been defined
  • the function named "mash_choice" on line 7 seems like it may be the one intended to provide a location

thanks so much Stephen but am still very lost. staill cant place it correctly. more clearification will be of much help. thanks again.

Steven Parker
Steven Parker
231,275 Points

Do your best to apply the hints given and then post a fresh snapshot link if you still have trouble.