I created a homepage for my web development class, but when I try to click on the navigation menu links, they don't seem to work. I'm not sure what's causing this issue, so I would really appreciate some help. Here is the code I used:
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="lg2.png"><img src="lg2.png" alt="A" style="width:150;height:50px"></a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="index.html" target="_nextpage">HOME</a></li>
<li><a href="download.html" target="_nextpage">DOWNLOAD</a></li>
<li><a href="signup.html" target="_nextpage"><span class="glyphicon glyphicon-user"></span></span> REGISTER</a></li>
</ul>
</div>
</div>
</nav>
Below are the CSS codes that correspond to the navbar:
.navbar {
margin-bottom: 0;
background-color: #086A87;
z-index: 9999;
border: 0;
font-size: 12px !important;
line-height: 1.42857143 !important;
letter-spacing: 4px;
border-radius: 0;
font-family: Montserrat, sans-serif;
}
.navbar li a, .navbar .navbar-brand {
color: #fff !important;
}
.navbar .navbar-collapse {
text-align: center;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
color: #f4511e !important;
background-color: #fff !important;
}
.navbar-default .navbar-toggle {
border-color: transparent;
color: #fff !important;
}
Could someone please assist me with this issue?