Learn HTML by Building a Cat Photo App - Step 12

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

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      href="https://freecatphotoapp.com"> link to cat photos.</p></a>
      <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.">

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 12; SM-M315F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Mobile Safari/537.36

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

Link to the challenge:

Hi please describe your issue as well when you post.

I am assuming here that you need to turn the words cat photos into a link. You enclosed the words for the link in <a> </a> which is correct but the anchor should close before the <p> tag. Because it opens after the paragraph. The p tag is supposed to enclose the hyperlink.
Also you are not supposed to change the text given to you in the test. It should be <p>Click here to view more cat photos.</p>. You just have to enclose the words ‘cat photos’ inside the <a> tag to make it a link. And set its href attribute .
Only the words enclosed within <a> tag will get converted to a link. Remember that the rest of the sentence should remain the same.

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