Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
cant pass step 12
cant pass step 12

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a>href= https://freecatphotoapp.com.</p> </a>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

OK, you’re about halfway there. First, the href has to be an attribute inside the opening anchor tag (<a>). The url (the value for the href attribute should be in quotes. The text “cat phots” should be there inside the anchor (but the period should be outside.

Also, your elements are overlapping. You have the format of <p><a></p></a>. Do you see how they overlap? HTML elements should never overlap like that - the a should be a child of the p, like <p><a></a></p>.

Does that all make sense?

Give that a try. If you run into trouble, show us what you’ve come up with and we’ll help you get closer.

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