BootStrap Toggle Hamburgar Button

Hey guys,

I am using testing out bootstrap… instead of trying to design everything from scratch.

In sites Ive built from scratch I had to use JavaScript to make the navbar button toggle open and close. I see that bootstrap comes with a complete navbar toggles to open and close… but when I use them in my project… they do not toggle open and close.

Do I use javaScript to open and close my bootstrap nav button? Or did I forget to add something??? I am confused. I feel like I am missing something.

Alot of Bootstrap functionality comes from using JavaScript. To harness this functionality, you must also add both jQuery and Bootstrap’s JavaScript library code.

You can visit this page for how to use all of Bootstrap’s functionality (either installing it or using CDNs.

1 Like