My navbar should always be at the top of the viewport

hello i am having trouble with the portfolio project and am green about coding,i did this with the little i understood from the curriculum,could any know what i did wrong in the assignment,ps; i need to understand fully so that its not copy and paste,thank you
https://codepen.io/AllenG/pen/porPpWQ that is my code

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0

Challenge: Build a Personal Portfolio Webpage

Link to the challenge:

You’ll want to google about CSS fixed positioning.

i googled for solutions but none helped

I didn’t suggest you google for solutions, I suggested you google about CSS fixed positioning. Once you understand what that does you will have the answer to your question and you should be able to apply your newfound knowledge to your navbar.