Learn HTML by Building a Cat Photo App - Step 11

Tell us what’s happening:
Describe your issue in detail here.
Can someone explain and show an example of what exactly is supposed to be done for step 11 please

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>

<!-- User Editable Region -->

      <a href="https://freecatphotoapp.com">link to cat pictuters freecatphotoapp.com</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/116.0.0.0 Safari/537.36 Edg/116.0.1938.62

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

Link to the challenge:

There is an example in the instructions:

<a href="https://www.freecodecamp.org">click here to go to freeCodeCamp.org</a>

Do you see how the text “click here to go to freeCodeCamp.org” is between the opening and closing a tags?

“Add the anchor text link to cat pictures to the anchor element.”

As in the example above, the text for a link goes between the opening and closing a tags. Your HTML:

<a href="https://freecatphotoapp.com">link to cat pictuters freecatphotoapp.com</a>

You did put the text between the a tags but you added text that you shouldn’t have. The only text that should be in the link is link to cat pictures.

1 Like

I don’t know what happen the first time. I did it right. However it didn’t go through. I just reset it and did it again. This time it showed correct. Thanks!

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