As the title says, I’m struggling with the getting a collapsing navbar.
Hey I created a codepen where I try to get the navbar collapse. heres the link to the codepen https://codepen.io/128bytes/pen/barjdO?editors=1010. check it out and see where you went wrong. It worked for me. I’m thinking you probably have missing html code somewhere in your bootstrap markup. I hope this helps
You had a typo on the following line:
It should have been navbar-header and not navabar-header.
Also, for reasons I can not figure out, the following line was causing problems:
<div class="collapse navbar-collapse" id="myNavbar">
Once I retyped it, it worked.