Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more<a>"cat photos"</a> in our gallery</p>
      <a href="https://freecatphotoapp.com">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.">

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Mobile Safari/537.36

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

Link to the challenge:

Don’t add quotes around cat photos. The text in the p element should stay exactly the same. You just want to add the a tags around cat photos to turn it into a link. You did do that, but you forgot to add the href attribute to the opening a tag.

Also, do not change anything else in the HTML. For example, you changed the text in the link below the p element. This will cause you to fail the step. You might want to reset the step to get the original HTML back and then try again.

1 Like


This step asks us to turn only the two words cat photos into a link.
It requires this to be completed without anything else being changed in the present p element statement, nor any of the code that is presented at the beginning of the step.
Below is the example for us to use.

<p>I think <a href="https://www.freecodecamp.org">freeCodeCamp</a> is great.</p>

Notice how the anchor only nests freeCodeCamp in the example.

I hope this helps you!

Keep up the good progress!

Happy coding! :slight_smile:

1 Like

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