My CSS3 navigation menu is not displaying the red background. I have checked my code multiple times but can't seem to find the issue.
#nav{
background-color:red;
height:40px;
width: 550px;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
font-size: 20px;
}
ul li{
color:silver;
}
This is my HTML code:
<div class="menu">
<ul>
<li>Seneda</li>
</ul>
</div>
<h1>Create Your Account</h1>
I can't seem to figure out what's missing in order for it to work correctly.