Build a Cat Blog Page - Step 11

Tell us what’s happening:

I’ve tried everything I can think of watch the videos multiple times and still can’t figure out what’s wrong with the ID

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; rv:134.0) Gecko/20100101 Firefox/134.0

Challenge Information:

Build a Cat Blog Page - Step 11

Hi @Jakemeister37

Your section element should have an id set to "about" .
It looks like the id attribute is not in the correct element.

Happy coding

Thank you. I’ve started from scratch. I’ll keep that in mind if I get stuck again.

1 Like

I still can’t get it to work. I’ve even tested the code in W3Schools and it seems to be working.

Please post your updated code.

I kept googling and found out the id has to be in the section tag.

About

you were already told that, you may have missed it

hi @LearningCodi

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge. How to Help Someone with Their Code Using the Socratic Method

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like