A element problem

Tell us what’s happening:
Describe your issue in detail here.
i already use only one ‘a’ element but it says use only ‘a’ element
Your code so far


<h2>CatPhotoApp</h2>
<main>
<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 cat view more</p>

<a href="link to www.freecodecamp.org"" link to www.freecodecamp.org"></a>
<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 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

this is the solution you should add view more before <a> tag which should not be the part of the link.

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

No need to create a new <a> tag here. Just cut the existing
<a href="<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a> for now.

Then, create a new <p> tag and structure the prefix of your link to include the text “view more”. For example, something like:
<p>Here is a link to view more...</p>

Now, inside of this new <p> tag, paste in the <a> tag that was cut earlier. It might look
like this now:
<p>Here is a link to view more <a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a> neatly nested within a paragraph tag.</p>

The final solution can be found below.

<main> 
  <img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
  <p>Here is a link to view more <a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>, neatly nested within a new paragraph tag.</p>
  <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>```

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