Problems with the navbar

Problems with the navbar
0

#1

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): https://codepen.io/tittityy/pen/EXZOWg


#2

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


#3

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.


#4

That helped. Thanks a lot :ok_woman: