I can't pass this challenge

Tell us what’s happening:
Describe your issue in detail here.
i can’t pass this challenge

   **Your code so far**

<h2>CatPhotoApp</h2>
<main> <p>
<P> <a> href="https://www.freecatphotoapp.com"target="_blank"> </a> </p>
 <a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a> /p>

 <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; rv:90.0) Gecko/20100101 Firefox/90.0

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Hey there @onochie3dx
I figured out your problem

Nest the existing anchor tag in a new paragraph tag

I think you haven’t completely understood the challenge
You are supposed to nest the existing anchor tag in a new paragraph tag and then write some text outside and inside the link

Hope this helped
Happy Coding

Yeah, there are some issues here:

First of all, why do you have two anchors? The first one is malformed but is in the right place. The second one looks right.

Also, the p tag needs to be lowercase.

You also have some extra tags floating around.

You are missing the “view more” text.


If I get rid of the first anchor and replace it with the second one, and I fix the capitalization of the <P>, and add the “view more” in the correct spot - then your code passes for me.

And just to be clear, because a lot of people get confused with “nesting” - it just means to put inside. This is an example of a p nested in a div:

<div>
  <p>Howdy!</p>
</div>

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