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

Bootstrap Modal form and submit confirmation

I am trying to create a message that pops up for a certain amount of time as we did in a lesson before. However I am using bootstrap and a modal for my form and I cannot get the pop up to not show initially nor slide in after clicking the button.

1 Answer

It would help if you showed your code for showing the modal and the code for the modal itself, are you including the data-target attribute in your button to call the modal, or what does the JavaScript you're using to call the modal initially look like?