Learn HTML by Building a Cat Photo App - Step 14

My code seems to not work, it keep repeating that the (a) element does not have a target attribute which I am quite confused about.

Your code so far

      <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" target="_blank">https://freecatphotoapp.com</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.">
1 Like

Good job! I think the issue in this exercise is that it wants you to have the ‘target=’ attribute in the first ‘a’ tag. Then after I think you should remove your entire second ‘a’ tag. That should get you closer to the example they want you to copy.

1 Like


As @albert_kucz guidances stated, you did a great job of adding the target attribute and its value. Only it is entered in the wrong link. (I believe this is something, everybody has does at some point in coding).

If you cut and paste it to the link above it, you should pass this step. In the next step you will remove the lower link (though I have seen it removed in this step without harm)

Keep up the good progress.

1 Like

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