Build a Cat Blog Page - Step 9

Tell us what’s happening:

Sorry, your code does not pass. Try again.

Your second anchor element should have the text of Posts inside your second li element.

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>

<!-- User Editable Region -->

      <nav>
        <ul>
          <li> <a href="#about">  About </li>
          <li> <a href="Posts"> Posts</li>
          <li><a href="#contact">Contact</li>
        </ul>
      </nav>

<!-- User Editable Region -->

    </header>
  </body>
</html>

Your browser information:

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

Challenge Information:

Build a Cat Blog Page - Step 9

Hey, welcome to the community! :waving_hand:
You’ve got a few small issues in your code:

  1. Extra spaces at the start of your <a> tags
  2. Missing closing tags of <a>
  3. Unnecessary spaces around the link text
  4. href="..." values should be in lowercase

Clean those up and you’re good to go!

1 Like