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

I am making a mistake somewhere in the code although it is showing the words cat photo as a link and when I click on it, it does say that it is linked to the site, however I am not identifying the issue, as it states the code is incorrect and states the link’s text should be cat photo, when I select to check the code. I don’t need the solution just a nudge in the right direction

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

     <p <a href="https://freecatphotoapp.com"<p> See more <a href="https://freecatphotoapp.com"> cat photos </a> in our gallery </p> 
       <a href="https://freecatphotoapp.com">link to cat pictures</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.">
    </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/108.0.0.0 Safari/537.36

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

Link to the challenge:

I think you can try to check if you have extra spaces; it would count as an error.

This is invalid.

Reset the code and this time do not modify the p tags.

Just add the new anchor tags around the words cat photos

Thanks for your help, I realise now I had an extra space which was creating the issue from the start.

I redid the code and yes I had an extra space issue, thanks for the help.

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