I’m trying to get my navigation bar to work when it is small in size. I want the menu items to show when the screen is small, however, codepen it doesn’t show. It shows that it has collapsed but the drop down menu doesn’t show anything. Please help. Here is my code pen: https://codepen.io/faysaldahir/pen/NwMaeL
Adding Jquery as a dependency would resolve your issue.
I think you need both bootstrap and jQuery.
Yes, @kevinSmith, you are correct! Thanks.
I added the jQuery then Bootstrap and it still doesn’t work for me. What is wrong on my end. This is the biggest snag i’ve hit trying to build this portfolio page.
Hi @faysaldahir, could you please check again? In your codepen, I can see jquery added now but no bootstrap js file or perhaps you added but that’s not saved.
Finally, it works now. All I had to do was add the bootstrap in js section thank you so much!