Build a Cat Blog Page - Step 11

Tell us what’s happening:

Help me check my code, "Your section element should have an id set to “about”.

Your code so far

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Mr. Whiskers' Blog</title>
    <meta charset="UTF-8" />
  </head>
  <body>
    <header>
      <h1>Welcome to Mr. Whiskers' Blog Page!</h1>
      <figure>
        <img
          src="https://cdn.freecodecamp.org/curriculum/css-photo-gallery/1.jpg"
          alt="a cat peacefully sleeping"
        />
        <figcaption>Mr. Whiskers Sleeping</figcaption>
      </figure>
      <nav>
        <ul>
          <li><a href="#about">About</a></li>
          <li><a href="#posts">Posts</a></li>
          <li><a href="#contact">Contact</a></li>
        </ul>
      </nav>
    </header>

<!-- User Editable Region -->

    <main>
  <section>
    <h2 id="about">About</h2>
    
    </section>
    
      
    </main>

<!-- User Editable Region -->

  </body>
</html>

Your browser information:

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

Challenge Information:

Build a Cat Blog Page - Step 11

what element did you add the id to?

h2 element

<section>
    <h2 id="about">About</h2>
    
    </section>

you wrote this in your first post

it looks like there is a mismatch between what you wrote and what is requested

Hi - you’re close! But, alas, no cigar. HTML is fickle about this and seems only to have one solution to this problem.

I used some of the other people’s failed attempts at Step 11 to eventually get to the right line of code! I put in section id=“about” , in my opening tag, before my second header and my closing tag. How you should put in the second header, is, perhaps a great deal simpler, but, I should only hint at it instead.

Hope this helps!