Smaller screens, bootstrap collapsed nav problem

I am again having some issues with my website. Currently i am doing the portfolio website, but i am having problems making it responsive for lower resolution screens. I am using bootstraps collapsable nav, and i am also using a js to stick the nav up top. When i go to mobile size screen, the nav bar goes away the button is there, but when i click it the nav bar won’t open. I have been searching online for this, but can’t seem to find a solution. My codepen:

Here is an example I found on W3schools

I realized what i did wrong :smiley:
At data-target in button i used the wrong id. Thanks for helping.

1 Like