Hello
So I’ve searched the whole internet and still can’t find the solution to this problem:
I’m playing about with Bootstrap on CodePen and learning on the way. I’m trying to make a toggle-able navbar for smaller screens. When I shrink the screen size the ‘hamburger’ icon appears but when clicked it acts funny -
It appears in the uncollapsed state
When clicked it collapses then uncollapses!
Why is this? Have I missed something?
Here’s the link to my CodePen and I would appreciate any help.
You are a life saver - I was stuck for hours!
I also figured out that I can use justify-content-center in the <div> that wraps the ul. Gives the same result also.