Learn HTML by Building a Cat Photo App - Step 12

Im not sure whats wrong:
I dont know whats wrong it tells me i need to werify the punctuation and spacing of both the p and nested anchor element.

See more cat photos in our gallerycat photos

<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

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

Link to the challenge:

You added an additional cat photos to the end of the sentence and made that a link. Instead, you want to turn the original cat photos that is in the middle of the sentence into a link.

1 Like

Hi,
i still dont understand what i did wrong. Could you give me an example please? Sorry to bother you.
Thanks.

The original text in the p element was See more cat photos in our gallery. You want to turn the words cat photos in that original text into a link.

Instead, you added and extra cat photos to the end of the text in the p element and made that a link.

Reset the step to get the original HTML back. Don’t make any changes to the text that is in the p element. Only add the opening and closing a tags to turn the words cat photos in that text into a link.

1 Like

Thank you so much i was stuck on this step for 1 day…
Your comment helped so much :slight_smile:

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