Tell us what’s happening:
I’d made sure my #navbar is on the viewport as requested but it’s still not passing. Please do help me out, I can’t really tell where it’s coming from.
I have actually placed it the body and it didn’t work, also the instructions says it should be above the viewport, which I just did and it is not still passing
The instructions say that “The section is only for metadata, which are hidden from the navbar should always be at browser screen when someone opens the top of the viewport webpage.” This means the actual navigation bar should appear at the top of the actual viewport (the visible area of the website), not that the code for the navbar should be on top of the code for the viewport.
The section is only for metadata, which are hidden from the browser screen when someone opens the webpage. The section is for everything that you want to be visible to the user on the webpage. Based on these two facts, I think you can figure out which section it should be in.
Alright, great, next question to ask yourself: when you look at the preview of your webpage, does the navbar stay at the top of your viewport the entire time, if you scroll down? Compare the behavior of your navbar with the behavior of the navbar in the example (the read menu at the top that says “About,” “Work” and “Contact”) : https://personal-portfolio.freecodecamp.rocks/
You might not be able to scroll down yet, if you don’t have much content on your page. If so, try adding some fake text to make the page long, just to see how it behaves. You can generate fake text over here: https://www.lipsum.com/