Mistake on "New York City Blog"?

FULL STACK CAREER PATH : Semantics HTML
Hey, i’m new to codecademy but if i’m not mistaken it seems to have mistake in the TASK 4:

"Create a <main> element below the closing </header> tag.

Within the <main> element, create a <section> element with an id of “blog”.

This <section> element will hold the main content of your webpage. You are giving this element an id so that you can target it with the nav bar."

I don’t undestand why they’re talking about targeting the nav bar, it does not make any sens if i’m not wrong.
But if i’m wrong i don’t know if my project is good because there is not an exemple project, So how can i know please ?

with the nav bar

The ‘nav bar’ will contain links to page fragments, of which the above <section> is one, given that it has an id attribute.

<nav>
  <ul>
    <li><a href="#frag1">Page Fragment 1</a></li>
    <li><a href="#frag2">Page Fragment 2</a></li>
    <li><a href="#frag3">Page Fragment 3</a></li>
    <li><a href="#frag4">Page Fragment 3</a></li>
  </ul>
</nav>
<main>
  <section id="frag1">

  </section>
  <section id="frag2">

  </section>
  <section id="frag3">

  </section>
  <section id="frag4">

  </section>
</main>

Oh ok !
Thanks for the answer, i like this community already haha

1 Like