Hi there all!
i’m trying to finish the portfolio project but i can’t figure out why my toggle button won’t work when it’s in collapsed mode.
here is my pen:
Please help (I’m stuck with it for more than a week now… )
Hi there all!
i’m trying to finish the portfolio project but i can’t figure out why my toggle button won’t work when it’s in collapsed mode.
here is my pen:
Please help (I’m stuck with it for more than a week now… )
Hey there,
Nice portfolio, the data-target attribute is missing a # in the button element. Check your scripts as well you’re loading bootstrap.min.js before jQuery and that’s not gonna work and you will run into errors because bootstrap requires jQuery.
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar">
</button>
Hi @akvilio, in the Settings on CodePen, there is a JavaScript tab. make sure the jQuery is added first on the top before Bootstrap.
THANK YOU!!!
You have no idea how frustrated i became with this… and as allways the solution was so simple… =)
@afaisalsahar and @alecaceaes You are the best!!!