Learn HTML by Building a Cat Photo App - Step 12

Can someone please advise on the right code in this step? The code I have created does not work even though it seems to be correct.

Thanks

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>

<!-- 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

In the text of your p element, turn the words cat photos into a link
dont add cat photos,link that one in the given text…

I thought the code I created was meant to do that…could you explain where the error was please?

link cat photos inside this sentence

your output is:

See more cat photos in our gallery.cat photos

dont add cat photos in the end as a link…

<p>text<a>text link</a>text</p>

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