Problems with the navbar

I’m trying to build up my portfolio page but I got stuck with my navbar. So the main problem is that it’s transparent even though I tried to code white background to it. So could someone help me and tell why it’s transparent?

Here’s the link to my portfolio (sorry it’s partly in Finnish):

Well it is not transparent it is white as you stated in CSS. Change color of nav in your CSS and you will see.

The hex color you used for white is incorrect. Hex color codes need to either be 3 digits or 6 digits.

Your Code: #ffff

Should be: #fff or #ffffff

When I changed the hex color in your CSS, it worked.

That helped. Thanks a lot :ok_woman:

1 Like