Why is <div class="nav">yellow


I am just doing the first lesson and was supposed to put div class="nav" to show the navigation menue. When I clicked run the menue had a bakground colour yellow. Why is that? Where in this code div class="nav" is the hint hidden that the background colour should be yellow?



If you see under main.css you will see the styling ..

Have you done the HTML&CSS course ? I suggest doing that course first then Make a Website