I am having an issue with the bootstrap navbar toggler. Despite it appearing when the window size decreases, clicking on it does not show the navbar. I would greatly appreciate it if someone could review my code quickly and identify any missing elements. As a beginner to bootstrap, any assistance is welcomed! (I have followed all setup instructions for integrating bootstrap, so that should not be the problem here).
<nav class="navbar navbar-expand-lg navbar-light ">
<a class="navbar-brand">MY NAME HERE</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="/home">Home<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="/projects">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/blogs">Blogs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/blogs">LinkedIn</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/contact">Contact</a>
</li>
</ul>
</div>
</nav>
nav {
background-color: white;
padding: 70px !important;
width: 100%;
position: absolute;
}
a {
background-color: white;
}
div {
background-color: white;
}
.navbar-brand {
background-color: white;
font-family: orpheuspro, serif;
font-style: normal;
color: black;
font-size: 40px !important;
font-weight: 100;
letter-spacing: 3px;
}
.nav-link {
background-color: white;
float: right;
color: black;
font-family: orpheuspro, serif;
font-weight: 400;
font-style: normal;
font-size: 23px;
text-transform: uppercase;
}