Personal portfolio navbar issue

Tell us what’s happening:
whenever i try to put the navbar on the top of the viewport under body it wont let the links work. but when i take it below the welcome section both test 7 and 2 pass but it then says navbar is not at the top of the viewport.

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36.

Challenge: Build a Personal Portfolio Webpage

Link to the challenge:

Hey there,

you can have a look at the portfolio tests.

Try to debug it on your own and let us know if you need some additional help. :slightly_smiling_face:

Okay thanks ill try it

I managed to do all the tests. but 7 is still not passing. heres my updated code: