Product Landing Page = problem with nav bar

Product Landing Page = problem with nav bar
0

#1

Hello!

I have been working on my Product Landing Page today and it has passed all of the tests apart from User Story #13: The navbar should always be at the top of the viewport.

I’m sure I’m’ leaving something obvious out but I can’t figure out what. If possible, could someone take a look at my Product Landing Page on Codepen:

Thank you!


#2

The viewport is the part you can see in your browser at any given time. If you click on any of your nav links, you will notice, the nav bar is no longer visible in the viewport and the tests are expecting the navbar to still be present at the top of the viewport even when you visit other parts of your page.

Read about the fixed or sticky value of the CSS position property.


#3

Thank you very much. I didn’t understand what they wanted me to do but now I’ve fixed it - thanks :slight_smile: