Build a Cat Blog Page - Step 9

Tell us what’s happening:

Not too sure on where I’ve went wrong here, it says that there is something wrong with the posts line of code, but I can’t figure out what

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 in the garden"
        />
        <figcaption>Mr. Whiskers in the Garden</figcaption>
      </figure>

<!-- User Editable Region -->

      <nav>
        <ul>
          <li><a href="#about"</a>About</li>
          <li><a href="#posts"</a>Posts</li>
          <li><a href="#contact"</a>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/138.0.0.0 Safari/537.36 OPR/122.0.0.0

Challenge Information:

Build a Cat Blog Page - Step 9

Hi there!
The issue is in your opening a tags, check the syntax

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

This is the message I get every time, even if I get rid of the line of code. What about the opening tags is wrong?

You need to close the opening tag and put the value between opening and closing a tags

I see, thanks for your help

1 Like