Learn HTML by Building a Cat Photo App - Step12 12

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

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more cat photos in our gallery.<a href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

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

Link to the challenge:

Welcome!
To turn the text cat photos into a link, it is required that the opening and closing a anchors be placed on each side of only these two words.
Do not remove the words from within the p element statement.
Do not make any other changes.
Example: red dog would be a link because the < a> opening anchor and the < /a> closing anchor would enclose the words instead of the words within the elements tags.

< p> The big < opening anchor> red dog < /closing anchor> jumped over the fence.

I hope this helps you.

Here is a great article on turning text and images into links. It has examples.

Happy coding! :slight_smile:

Here’s how it should look like:

See more cat photos in our gallery.

Thank you so much for helping :blush:

1 Like

You are very welcome. The link will help you with future lessons where you need to turn img into links.

Happy coding! :slight_smile:

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