Not able to deal with

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>

<p href="https://www.freecodecamp.org" alt= "View more"</p>

<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>

<img src="https://bit.ly/fcc-relaxing-cat" 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>
</main>
  **Your browser information:**

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

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

<p href="https://www.freecodecamp.org" alt= "View more"</p>

This statement is wrong. You have to remove the href attribute & the alt attribute. The p should only contain plain text. You should also nest the a element inside with the link & anchor text of cat photos

1 Like

can you help me how to nest a element inside with the links and anchor test of cat photo

you first have to make the p element, fill it with the given text, (but don’t close the tag yet). Then, create your a tag. Give it the link provided in the challenge panel. After that, give the anchor text( cat photos) and close the a tag. After that, close the p tag.

Hope that helps!

1 Like

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