Step 12: Nesting an element into another element

Tell us what’s happening:
Describe your issue in detail here.
Hint given: Your anchor (a) element should be nested within the p element.

  **Your code so far**
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p> <href="">cat photos>Click here to view more cat photos.</p>
    <a href="">cat photos</a>
    <img src="" alt="A cute orange cat lying on its back.">
  **Your browser information:**

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

Challenge: Step 12

Link to the challenge:

Your p tag should not have a the link in front of it, remove that first, let the sentence remain. Your anchor tag shouldn’t be below the p tag remove that also, it should be inside the p tag wrapping “cat photos” just like you did with the anchor tag below the p tag. So your a tag which has also the href attribute in it would be before “cat photos” and the closing tag would come after “cat photos” but before the full-stop.

Thanks so much for the support.

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