Learn HTML by Building a Cat Photo App - Step 12

They ask me:
After nesting the anchor (a) element, the only content of the p element visible in the browser should be See more cat photos in our gallery. Double check the text, spacing, or punctuation of both the p and the nested anchor element.

my code:

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>

<!-- User Editable Region -->

      <!-- TODO: Add link to cat photos -->
       <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/109.0.0.0 Safari/537.36

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

Link to the challenge:

You want to turn the existing words cat photos that are in the middle of the sentence into a link. You don’t want to add a new cat photos to the sentence.

Excuse me and what would that coding be like if you interpret it in code I have no head for it I try and try and everything turns out as an error would you help me please

You added the words cat photos to the end of the sentence and then turned those words into a link by wrapping them in a tags. You don’t want to add any extra words to the sentence. You want to turn the existing words cat photos in the middle of a sentence into a link by wrapping them in a tags.

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