Your your a ement should be nested within your new p element.

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p> Here's a <atarget="_blank" href="https://www.freecodecamp.org"> link to www.freecodecamp.org</a> for you to follow </p> view more
<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>

<img src="https://www.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/92.0.4515.131 Safari/537.36 Edg/92.0.902.73

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Hello,
You need to copy the exact text within the instruction here. This is the text :

View more cat photos

and nesting looks like this:

<p> <a>text</a> </p>

Don’t forget to do the nesting for the existing a tag with a New p tag.

Hi @limkahjiun1227 is your question how to solve this? If that is your question (I assume from the title).

First you have to recognize where the anchor element is in the code which is.

cat photos

Next you were asked to wrap a “p” element around it

cat photos

Finally you were asked to add a text but the aim is to link the text to the a element. Since the a element already has cat photos, you only need to add “view more”.

The final output is:

View more cat photos

Hope this helps!

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