Use Headings to Show Hierarchical Relationships of Content

Use Headings to Show Hierarchical Relationships of Content
0

#1

“Change all the h5 tags to the proper heading level to indicate they are subsections of the h2 ones.”

And the tip says:
“Your code should have six h3 tags.”

I think this lesson is wrong.

Your code so far


<h1>How to Become a Ninja</h1>
<main>
  <h2>Learn the Art of Moving Stealthily
  <h2>How to Hide in Plain Sight</h2>
  <h2>How to Climb a Wall</h2>

  <h2>Learn the Art of Battle</h2>
  <h2>How to Strengthen your Body</h2>
  <h2>How to Fight like a Ninja</h2>

  <h2>Learn the Art of Living with Honor</h2>
  <h2>How to Breathe Properly</h2>
  <h2>How to Simplify your Life</h2>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-accessibility/use-headings-to-show-hierarchical-relationships-of-content


#2

I’m just stupid. Don’t blame me :smiley:


#3

Hey, we’re all here to learn. No blame at all. Did you get it sorted out?

If not, the key is to focus on the wording of the prompt. What were originally <h5> tags need to be changed to subsections of the <h2> tags. Keep in mind the meaning of the prefix sub-, like what you see in “subordinate” or “submarine”. Hope that helps!