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

<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">in our gallery.</p></a>
      <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/110.0.0.0 Safari/537.36

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

Link to the challenge:

kindly see the above code and advise accordingly i can’t get it right

You have to surround the words “cat photos” in the existing sentence with ‘a’ tags:

<a href="URL">two words</a>

Restart step.
You have already got an example of how to do this. Take a look at the second code line in the challenge.

You should have a <p> element with the text See more cat photos in our gallery.
You’re missing the words ‘cat photos’.

Also, your <a> element should be nested inside the <p> element, but your closing <a> tag is outside.

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