Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

Can someone tells me what is wrong with my code? because I kept getting this message:
Your p element should have a nested anchor (a ) element with the text cat photos . You may have deleted it or have a typo

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" target="_blank">cat photos </a> in our 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>

there is an extra space here between photos and the tag. But also having the code on multiple lines could be an issue for the tests

I redo this solution and only add the target attributes and its value. It works! Thank for responding as I also can see the spacing might be an issue.

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