Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

In the text of your p element, turn the words cat photos into a link by adding opening and closing anchor (a) tags around these words. Then set the href attribute to https://freecatphotoapp.com

<p>See more <a href="cat photos"> </a> in our gallery.</p>
<a href="https://freecatphotoapp.com">link to cat pictures</a>

Your code so far

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

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Hi @redblueberry17, welcome to the forums. In the future, you don’t need to repeat instructions in your post. We can just go to the step and read them for ourselves if needed. What is helpful is if you try to explain what you don’t understand about the instructions so we can better help you.

Turning words into a link means wrapping them in an a element, which means putting an opening a tag before the words and a closing a tag after the words, just like you did to the words “link to cat pictures” in a previous step. I would reset the step to get the original HTML back and then don’t delete anything that is already there, just add the opening and closing a tags around the words “cat photos”. And then be sure to set the href attribute on the opening a tag to the correct URL.