I have been troubleshooting the issue, but nothing seems to be fixing it for me.
Oddly enough, when I resize the browser window, the hamburger menu appears and functions properly. However, when I check on my phone, it doesn't seem to work at all. Could I have made a mistake somewhere?
This is the code I currently have:
HTML:
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Roy van Eerden</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="#about">Home</a></li>
<li><a href="#skills">Portfolio</a></li>
<li><a href="#experience">Over</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
You can view it live at: www.royvaneerden.com/
Here is a screenshot showing how it looks on a mobile phone: