Nest an Anchor Element within a Paragraph-HELP PLEASE

Tell us what’s happening:
Your a element should have the anchor text of “cat photos”
Your p element should have the text "View more " (with a space after it).

Your code so far


<h2>CatPhotoApp</h2>
<main>
<p>
<a href="cat photos"</a>
<a href="http://freecatphotoapp.com"</a>
<a href="View more"> link to freecatphotoapp.com</a>
</p>
  
  <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 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/nest-an-anchor-element-within-a-paragraph

Re-read the instructions, reset your code and work on it :slight_smile:

A few things that are wrong in you current code:

  • You have missing > characters <a href="cat photos"</a> should be <a href="cat photos"></a> to be correct (just for the tag)
  • href is a reference/link href="cat photos" is not valid, href="http://freecatphotoapp.com" is valid