I'm not able to replicate this nav bar


above is the instructions ^


above is the website i’m trying to edit to make it look like this ^

above is my nav bar ^

i tried to edit my code based on past assignments, but i have no idea what’s going on…

my code:

does anyone know how to help?

Please post the code and not just images and explain a little more what the issue is.

If it is the underline on the link styles then you have the wrong value for text-decoration.

1 Like

the entire code, or just the sitenavigation section?

Yes, that is one of the problems… i need to remove the underline up until i have the mouse focused/hovered on it.

If you read the link I gave you can find the value you need to use. In the Syntax list on the page, there is a value that should stand out as the one you need to use.

What are the rest?

Oh wait, nevermind. I was able to fix them and also with your help :3

If you use the dev tools and inspect the styles you can also tell if properties or values are invalid. They will show up with a :warning: icon next to the style.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.