Learn HTML by Building a Cat Photo App - Step 11

Tell us what’s happening:
What am I missing in Step 11? I cannot get beyond it and I am following the example provided in the app to the letter from what I can tell.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>
      <a href="https://freecatphotoapp.com">click here to go to freecatphotoapp.com</a>
      <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 mobile information:

iPhone - iOS17.5.1

Challenge: Learn HTML by Building a Cat Photo App - Step 11

Link to the challenge:

1 Like

Great job! Try moving the closing ‘/a’ tag to after ‘click here’. That way the ‘click here’ is the only hyperlink text. Happy coding.

This is the hint it is providing me, but I thought I was following it correctly: “Your anchor (a) element’s text should be link to cat pictures. Make sure to put the link text between the anchor (a) element’s opening tag and closing tag.”

1 Like

I don’t see " link to cat pictures" written anywhere

2 Likes

You are on the right track then. It sounds like you just need to either wrap the exact text the lesson wants without any typos. I would cut the closing ‘/a’ tag and place it where I think the lesson wants it and test it to see if I pass. Your code looks great though.

Thank you! I was reading and interpreting the hint the wrong way.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.