I need help with a single-page navigation bar for the portfolio project

So I’ve been working on the portfolio project for a few jays now. I think I have everything in it that I want, everything can be viewed via scrolling, and I think I have the basis for a nav bar, but I can’t actually get the nav bar to work. I’ve looked all over at different examples and methods of doing this in plain CSS, Bootstrap, and jQuery, but nothing I’ve tried has worked so far.
If someone could point me in the direction of some tips and tricks or some examples of things I’ve maybe missed that would be fantastic.
Please help?

If you have the following structure:

<div id="section1"></div>
<div id="section2"></div>
<div id="section3"></div>

You can link to it like this:

<a href="#section1">Section 1</a>
<a href="#section2">Section 2</a>
<a href="#section3">Section 3</a>

Thank you so much! That seems to have done the trick.