Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

can someone please tell me, what’s wrong with my code?

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> Link to the cats gallery.</p>

<!-- 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/120.0.0.0 Safari/537.36 Avast/120.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Welcome to the forum @sogoltah

The paragraph element is missing a closing tag.
The anchor element needs to replace the words cat photo in the paragraph.

This way, the text in the paragraph is made into a clickable link.

Happy coding

Hi there, you need to turn the words “cat photos” in the p element in line 7 into a link using the technique of turning a text shown there into a link. You sould not change the line 8,try refreshing the page and starting over.

1 Like