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 - CSS Changing Stuff in Your Style Sheet

Sean Diaz
Sean Diaz
4,172 Points

MASH is not generating answers.

From the beginning, when I populate the boxes with words and then hit the "Tell my fortune" button, nothing is generated. The page just reloads as it was. What am I missing? It has to be something simple but I've been stuck on this for a few days and can't move on until I know why I can't get to make the fortune statement.

1 Answer

Bogdan Cabaj
Bogdan Cabaj
16,348 Points

Make sure to add script.js location in your script tag on the bottom of the page.

<script src="script.js"></script>
Sean Diaz
Sean Diaz
4,172 Points

Thank you so much! That worked. My brain was about to explode.