Element <a>Each of your `p` elements should have a closing tag

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

Each of your p elements should have a closing tag.???( (only error ))
I can`t find the problem!!!

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p>View more cat photos<a href="https://www.freecatphotoapp.com">cat photos</a><p/>


<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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/99.0.4844.82 Safari/537.36

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Two things are going on here:

FIRST: Lets look at the Tutorial instructions:



The new paragraph should have text that says View more cat photos , where cat photos is a link, and the rest is plain text:


YOUR CODE INPUT:


<p>View more cat photos<a href="https://www.freecatphotoapp.com">cat photos</a><p/>

YOUR CODE OUTPUT

View more cat photoscat photos


THE EXPECTED OUTPUT:

View more cat photos




SECOND: Lets look at the syntax of Your code and the Expected code:

<p>View more cat photos<a href="https://www.freecatphotoapp.com">cat photos</a></p>

<p>View more cat photos<a href="https://www.freecatphotoapp.com">cat photos</a><p/>

LOOK CAREFULLY AT THE </p> tags.

thanks i already pass but know i`m stock in another problem lol

You can go ahead and post it in a new thread if you want.

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