Nest an Anchor Element within a Paragraph. Each of your a elements should have a closing tag

Tell us what’s happening:
Describe your issue in detail here.
I don’t know where I’m doing wrong. please help, I have been trying to fix it for the last 20 mins. I need help with this code. this is how I wrote it

<p> View more 
<a href=''>cat photos</a></p>

  **Your code so far**

<view more href="View more cat photos" target="_blank"> cat photos </a>
**<p> View more **
**<a href=''>cat photos</a></p>**

<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>

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Hi @ayanmohamed977 !
Welcome to the forum!

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

This part is correct

But this stuff is incorrect

Reset the lesson and just add the correct stuff I pointed out to you

The challenge is →

  • Nest the existing a element within a new p element. The new paragraph should have text that says View more cat photos , where cat photos is a link, and the rest is plain text.*

Hint : The new paragraph should have text that says View more cat photos.

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