Facilitez la navigation dans le lecteur d'écran avec le nav Landmark

<–! je n’arrive pas à faire cette parti de l’exercice je remplace la div balise par la nav balise mais cela me dit que j’ai toujours la div balise


<body>
<header>
  <h1>Training with Camper Cat</h1>
<nav>
    <ul>
      <li><a href="#stealth">Stealth &amp; Agility</a></li>
      <li><a href="#combat">Combat</a></li>
      <li><a href="#weapons">Weapons</a></li>
    </ul>
 </nav>
</header>
<main>
  <section id="stealth">
    <h2>Stealth &amp; Agility Training</h2>
    <article><h3>Climb foliage quickly using a minimum spanning tree approach</h3></article>
    <article><h3>No training is NP-complete without parkour</h3></article>
  </section>
  <section id="combat">
    <h2>Combat Training</h2>
    <article><h3>Dispatch multiple enemies with multithreaded tactics</h3></article>
    <article><h3>Goodbye world: 5 proven ways to knock out an opponent</h3></article>
  </section>
  <section id="weapons">
    <h2>Weapons Training</h2>
    <article><h3>Swords: the best tool to literally divide and conquer</h3></article>
    <article><h3>Breadth-first or depth-first in multi-weapon training?</h3></article>
  </section>
</main>
</body>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36.

Challenge: Make Screen Reader Navigation Easier with the nav Landmark

Link to the challenge:

Hi @accart ,

Your code is correct buddy.
Just refresh the page and you are good to go to next challenge.

Happy Coding !!

malheureusement ca ne fonctionne toujours pas

Try a private browsing window. If it works, clear the FCC cookies. Your code worked for me.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.