Learn HTML by Building a Cat Photo App - Step 12

I am on step 12 of building the cat website.
The instructions are to “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/

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

I seem to have met the critera. The words “cat photos” is now a blue link that can be clicked so I’m not sure where the error is.

Hello!
Try removing the / at the end of the link.
Happy coding!

Thank you so much! That worked. I’m not sure why though. How was the / affecting the code?

You are very welcome. This is a known issue that is being tracked. I am not sure why it is happening. But, because it is a known issue, it was my first choice to offer for a solution.

Happy coding! :slight_smile:

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