I've been attempting to create a menu, but the toggle div for the menu isn't visible
Following a tutorial where an individual sets up a menu, there is a div with a menu icon in the top left corner. Despite meticulously copying the code from the HTML and CSS files, nothing displays on my screen. The image I'm using is identical to the one in the tutorial's folder. Link to YT HTML & the Link to YT CSS
.btn-toggle-nav {
width: 60px;
height: 100%;
background-color: #F98F39;
background-image: url("img/menu.png");
background-repeat: no-repeat;
background-size: 40%;
background-position: center;
cursor: pointer;
}
.btn-toggle-nav:hover {
opacity: 0.5;
}
<nav class="nav-main">
<div class="btn-toggle-nav"></div>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Project</a></li>
<li><a href="#">Biography</a></li>
<li><a href="#">Gallery</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
The anticipated outcome should mirror that shown in the video. Here is the link