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 answer bubble won't appear!

Hello,

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
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
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: