How the navbar should always be at the top of the viewport.

how to click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.
thanks for your help in advance.

Hello there.

I have moved this post to a more suitable sub-forum.

Could you please edit your post to include a link to your project? The more information we have, the more likely we are able to help you.