quote This is my simple code and I have no idea why it is not working? The toggle button is not visible and whatever background color my navbar is, it overlaps the button without a button is visible. I am trying to learn this technology and I am a total beginner so please don't mind if I am doing a very silly mistake
<body>
<nav class="navbar navbar-lt navbar-expand-sm fixed-top nb">
<div class = "container">
<button class = "navbar-toggler" type = "button" data-toggle="collapse" data-target = "#Navbar">
<i class="navbar-toggler-icon"></i>
</button>
<a class = " mr-auto navbar-brand myfont" href = ".\index.html">Sidhant Aggarwal</a>
<div class = "collapse navbar-collapse" id = "Navbar">
<ul class = "navbar-nav mr-auto">
<li class = "nav-item"> <a class = "nav-link" href= "#"> About Me</a></li>
<li class = "nav-item"> <a class = "nav-link" href= "#"> Resume</a></li>
<li class = "nav-item"> <a class = "nav-link" href= ".\contactus.html">Certifications</a></li>
</ul>
</div>
</div>
This is the CSS stylesheet
.nb{
height: 100px;
letter-spacing: 0.2em;
line-height: 70px;
letter-spacing: 0.2em;
text-transform: uppercase;
text-align: left;
margin: 0px auto;
color:black;
}
.navbar-brand{
padding-right: 20px;
color:black;
margin-left: 80px;
padding-right: 20px;
}
.nav-item{
color: black;
font-family: "Lato";
}
Please help!
[1]: https://i.stack.imgur.com/JMZPu.png