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 Express Basics Parameters, Query Strings, and Modularizing Routes Linking Around the Application

Jorge Lopez
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jorge Lopez
Full Stack JavaScript Techdegree Graduate 32,503 Points

Goodbye button no longer working

After I moved the button HTML from index.pug into layout.pug the button stopped responding. I followed the code in the video and I didn't see our instructor move it the .post script anywhere else, but the button continued to work.

Has anybody run into this problem?

1 Answer

Jorge Lopez
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jorge Lopez
Full Stack JavaScript Techdegree Graduate 32,503 Points

Never mind guys! I figured it out! It was an oversight on my end. I moved the button without moving the form it was nested in.

Thank you to anyone who clicked on this question with the intention of helping out tho!