Hello Guys, I’m confused with this.
idk what it needs. could you give a little help to a new student.
There is the hints:
You should only have one a
element.
The a
element should link to " https://www.freecatphotoapp.com
".
Your a
element should have the anchor text of cat photos
You should create a new p
element. There should be at least 3 total p
tags in your HTML code.
Your a
element should be nested within your new p
element.
Your p
element should have the text View more
(with a space after it).
Your a
element should not have the text View more
.
Each of your p
elements should have a closing tag.
Each of your a
elements should have a closing tag.
//
**Your code so far**
<h2>CatPhotoApp</h2>
<main>
<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>
<p> <a href="https://www.freecatphotoapp.com">cat photos <a/></p>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Challenge: Nest an Anchor Element within a Paragraph
Link to the challenge: