Into to HTML: Project New York City Blog

In step 2, how do I link this to the nav bar?Project: New York City Blog

Hi @ebazan9102

I can’t see the project, because I’m not a Pro user. There’s usually hints, though, which you can refer to if you’re stuck? :slight_smile:

I hope you came right with this?

If not, I assume you are asking how you link the nav bar to the different sections on the page?

To do that, all you need to do is in each <section> tag, you need to add the related id attributes for that section, eg <section id="about">. Once you have done that, then in the nav bar list, you need to wrap the about in a link, and refer it to the id about by using the # symbol.

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

Once you have done that, when you click on About in your web browser, it will scroll your page down to the about section where you placed the <section id="about">.

Hope this helps,
Kevin