Navigation assistance

Hi all. I’m almost done with my personal portfolio page except I can’t turn the menu buttons into links and I can’t direct said links to their respective sections of the page. I’m really stuck here. Please help. Here’s my portfolio pen: https://codepen.io/jltsngh11/pen/KvPLvd

Thank you.

You need to use anchor tags and point them to specific ids like so:

<a href="#contact" class="btn">Contact Me</a>
<a href="#portfolio" class="btn">Portfolio</a>
<a href="#about" class="btn">About</a>
...
<h1 id="about">About</h1>
...
<h1 id="portfolio">Portfolio</h1>
...
<h1 id="contact">Contact Me</h1>

Thank you! This helped.

1 Like