Nest an anchor element within a paragragh

Hello everyone, I’m new to this coding class and
kind a struggling to find out the mistake in my code.Tried all the possible ways. Any help will be appreciated.

  **My code so far**


<img src="" alt="A cute orange cat lying on its back.">

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
<p> View more <a href="">cat photo</a> </p>


Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

I think the p element with the link inside it has to be above the img element. Also, I think you should make it cat photos

1 Like

Hey @dewangan7muskan ,

You have to write like this after your main tag.

<p> View more cat photos

<a href="" target="_blank">cat photos</a>


i am not giving you full solution but keep efforting and happy coding.

1 Like

Thankyou so much :heart: .It was really helpful.

1 Like

Thankyou so much :heart: .It worked

1 Like

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