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.

KRIS NIKOLAISEN
KRIS NIKOLAISEN
54,368 Points

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
201,918 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
201,918 Points

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