It said that i need p with text View more with space after it?

It said that i need p with text View more with space after it?
0

#1

Tell us what’s happening:

Your code so far


<h2>CatPhotoApp</h2>
<main>
 <p "View more"</p>
 <a href="http://freecatphotoapp.com" target="_blank">cat photos</a>

  <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 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6.

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


#2

The instructions are as follows:

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.

You are not nesting the a element inside the p element. If you did, it would have the general syntax of the following.

<p>
  <a></a>
</p>

Obviously you need to add some more text to the p element and the a element above does not look like the a element in the challenge, but this should give you the right idea about syntax.


#3

i understand that but its confusing bcz in the main said that i should put text “view more cat photos” and in the tasks down im missing only this one "Your p element should have the text "View more " (with a space after it).
im stock here… can u help me with any idea?


#4

OK, so you know that the p element should at least contain the text View more somewhere between the <p> and </p>. You just need to figure out where the a element should go in relation to the View more text to satisfy the challenge requirements.

HINT: You do not have to modify the a element at all. You just need to position it, so the overall text of the p element displays as View more cat photos with the cat photos part being a link.