Having trouble: Product landing Page

Can someone please explain how to add this: (When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.’) For the Product Landing Page.

Could you please provide your codepen link or post your code here?
BTW all you need to do is add button with class link inside the nav element.

1 Like

You mean like this https://codepen.io/jccnnn/pen/GRoPwVW?editors=1010?

You just need to add an id on corresponding section then reference it to your nav link.

on navlink:

<a href="#about"></a>


<div id="about">
    <h1>Hello  World</h1>

@A4m10, you can review this lesson.

1 Like