Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Treehouse Club - MASH MASH - JavaScript Stuff You Can Change

My answer bubble won't appear!


I wanted to add six more questions to the code to make it interesting. However, when I hit the "Tell Me My Fortune" button, the text box does not come up. I probably made a typo, so could anyone look to see where my code went wrong?

Workspace snapshot: https://w.trhou.se/ufsotaa5l6

Thanks a lot! Alp

1 Answer

Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

Hi there! You have exactly two typos and they are very close together. Essentially, you left out two commas which are causing syntax errors and your code is no longer able to be run.

On the ends of line 77 and line 80, you forgot the ending comma.

// Line 77
// You typed
'location': get_answer('location')

// It should be
'location': get_answer('location'),
// Line 80
// You typed
'sons': get_answer('sons')

// It should be
'sons': get_answer('sons'),

Hope this helps! :sparkles: