Personal Portfolio Page: 'The navbar should always be at the top of the viewport'

I’m 1 error away from completing my first 300hrs of coding certificate, and this one has me up for 4 hours now… Who can help?

My portfolio page: https://codepen.io/Rixt_Singelsma/pen/NExGOW?editors=1100

The error: ‘The navbar should always be at the top of the viewport.’

Navbar’s parent should be body and it should be at the top of the viewport

What am I doing wrong?

1 Like

It wants the #navbar parent to be the body.

<nav id="navbar"> <!-- correct place to put the navbar id -->
  <ul> <!-- it was here before -->
1 Like

Oh my gosh this worked! Thank you so much!! :raised_hands::grin:

Congrats on the certificate! :slight_smile:

1 Like

Even I am getting this error.
Here is my code:

https://codepen.io/freeCodeCamp/pen/MJjpwO?editors=1100

Can anyone please tell me…!!!

This post has not been active for over two years so I am going to close it.

Thanks!