I’m building the navigation manu for my Portfolio page project. But I just can’t make the toggle button work on smaller screens. I’ve done the following-
- Checked that BS js and jQuery is included properly.
- Checked that
.collapsed class is attached to the
- Double checked the whole
nav section code.
But still I could not find the mistake. Am I missing something?
Please help. Here’s the Codepen link- https://codepen.io/debu2code/pen/yzZPWY
Here’s your error from Developer’s Tools
Thanks for helping @alecaceaes. But I didn’t understand the error. What should I do to avoid it?
Make sure that Jquery is on top of Bootstrap.
Yess!! It’s working now. @alecaceaes you’re a life saver.
I had included jQuery after BS js. Can you please explain why that didn’t work?
JQuery is a pre-requisite for Bootstrap.
Understood. Thanks again for helping. I can submit my project now and move ahead.