Personal Portfolio Webpage - Build a Personal Portfolio THE NAV BAR SHOULD BE AT THE TOP OF THE VIEWPORT Webpage

I am pretty sure my nav bar is always at the top of the viewport but still i got the error the NAV BAR MUST BE AT THE TOP OF THE VIEWPORT

Document FINAL PROJECT About Work Contact

CSS

  • {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    /* THIS is how we set up the NAVBAR to be always at the top of viewport */
    #navbar {
    position: fixed;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    background-color: rgb(160, 70, 70);
    border-bottom: 2px solid rgb(129, 121, 121);
    }

#navbar a {
padding: 0 20px;
font-size: 28px;
color: whitesmoke;
font-weight: bold;
font-family: “Nosifer”, sans-serif;
}

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Challenge Information:

Personal Portfolio Webpage - Build a Personal Portfolio Webpage

The position property will only affect how the selector is positioned. You will need to add a top property and give it a suitable value to enable where it is positioned.

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