How to show spaces in the space after the text

Tell us what’s happening:

my main problem is nesting the a element inside the new p element and even after the text "view more"text I dont know how to show space required for the challenge to be completed

Your code so far
h2>CatPhotoApp

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

A cute orange cat lying on its back.

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.


<h2>CatPhotoApp</h2>

<main>
<p>"View more" 
<a> href="https://freecatphotoapp.com" target="_blank">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/86.0.4240.183 Safari/537.36.

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

You have a couple of problems here. First of all, View More shouldn’t be in quotes. And you can just put a space at the end.

And href="https://freecatphotoapp.com" target="_blank">cat photos has to be inside your opening a tag, not between them. Refer to the example in the description.

When I fix those things, your code passes for me.

1 Like