Build a Cat Photo App - Step 11

Tell us what’s happening:

Step 11 wants an embedded link that says “cat photos”
I have written the line like it wants and it even shows in blue on the preview window. However the code says it does not pass and I cannot see why?

Here is my code.

cat photos

In extreme confusion I asked chatgpt, chat gpt says that should be correct.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>

<!-- User Editable Region -->

      <a href="https://freecatphotoapp.com"></a>
       <a href="https://freecodecamp.org">cat photos</a>


<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

Your browser information:

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

Challenge Information:

Build a Cat Photo App - Step 11

`

List item

`

Welcome to the forum @jgf04

Try removing the empty anchor element.

Happy coding

1 Like

Hey bro this is the extra one you need to remove this line.

1 Like

Thank you so much seriously. I can’t believe I didn’t see that.

2 Likes