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

General Discussion

Anyone can help me figure out why my form modal keeps showing up under my footnotes instead of with button tiggers?

Here's what I have. The code for the form modal is at the bottom and I added data-toggle="modal" data-target="#register" to both the callout and jumbotron buttons

https://w.trhou.se/vkttjgc7dn

2 Answers

I ran your code through a validator service (give it a try) and it came up with three errors. One of which is: Error: Bogus comment. At line 275, column 6

That is the line here:

   <! ==========================================
      FORM MODAL
    ========================================== 

By changing that to a comment:

   <!-- ==========================================
      FORM MODAL
    ==========================================
-->

The modal form displayed as it should only when clicking the button

Thank you! Both for your help and the recommendation of using a validator service.