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 - HTML MASH Introduction with HTML

Game doesn't work with original code.

After following along the course and discovering that my customized MASH game didn't work, I reverted to the original code and discovered that the MASH game won't work for me with the original code from the teacher's notes. I am using Chrome on Ubuntu. After filling out the fields, I hit 'tell my fortune' and the answers disappear and the page looks like before I filled out the form. Any ideas?

1 Answer

Nicholas Grenwalt
Nicholas Grenwalt
46,626 Points

The original code (what is also in the teacher's notes) is a template. You still have to add the proper HTML tag to "link" your external CSS stylesheet and also add your "scripts" to add the functionality using JavaScript.

Hope those hints help you out.

Gotcha. I stuck with it and understand how it was building. I thought I had broke something. Thanks!