Personal Portfolio - defining areas

Hello! I’ve finally managed to build a nav bar that actually works. I had to copy and paste from my old project. But now I’m running into another issue that I had with my project landing page as well.
When I click on a navbar link, it’ll bring the link to the very top of the page and not flush with the bottom of the nav bar, therefore cutting off the first bit of the clicked link. How do I define the page as being separate from the navbar so it doesn’t do this? Or what is it that I’m not understanding about this?
https://codepen.io/RudesCode/pen/MWpmREB

Hello, I’m a fellow learner.

If I’m understanding correctly, you should look up scroll-padding property.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.