Tell us what’s happening:
Your code so far
<h2>CatPhotoApp</h2>
<main>
<p>
View more <a href =
"http://www.freecatphotoapp.com">cat photos<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/
You haven’t told us what the problem is.
Make sure each of your p elements has a closing tag.
Make sure each of your a elements has a closing tag.
What @LOWKEYBANKS meant was, your closing tags are improperly written. Check the tags and correct them
See this carefully.
You have not closed your p tag properly.
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make the code easier to read or use the “preformattted text” button.
@LOWKEYBANKS ‘view more’ not ‘View more’
Now nest your existing a element within a new p element (just after the existing main element). The new paragraph should have text that says “View more cat photos”, where “cat photos” is a link, and the rest of the text is plain text…{this is what it says}
Tell us what tests aren’t passing in your window, or rather what tests are failing
Make sure each of your p elements has a closing tag.
Make sure each of your a elements has a closing tag.
Tests failing
<p>View more <a href="http://freecatphotoapp.com" target="_blank"> cat photos</a></p>
use the above. I think you didnt place a space INSIDE your a element for the cat photos.
Also. there is no ‘here’ in the original text. just ‘View more cat photos’
every time i try sending the code its popping up like this.Let me screenshot it,then send it to you.
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make the code easier to read or use the “preformattted text” button.
your a element closing tag is wrong. You recall that I said u should check the closing tags and make sure they are correctly written.
<a/>
is wrong.
do this </a>