Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
I need to nest the (a) with the p element.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more cat photos</p>
    <a>href="https://freecatphotoapp.com"cat photos</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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15

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

Link to the challenge:

To nest something means to place it inside of something else. So if you want to nest a link inside of the p element then you need to put the a tags inside of the p element. And since you want to turn the words “cat photos” into a link then the a tags should probably go around those words.

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