HELP me solve the problem please

Tell us what’s happening:
Describe your issue in detail here.

   **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p>
 View more cat photoscat photos<a href="https://www.freecatphotoapp.com"target="blank"href="#cat photos">link to www.freecatphotoapp.com</a>

</p>
 <img src="https://www.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>
<catphotos id="cat photos"></catphotos>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Edg/90.0.818.62

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

Hello @JOKER9, welcome to the forum.

Have a look at what you wrote above and the test requirements:

Your a element should have the anchor text of cat photos

What’s your a text right now? is it “cat photos” ?

Your p element should have the text View more (with a space after it).

What’s the current text of your p element?


You are almost there, you just need to clean up the strings a bit, as the tests are very specific :slight_smile:
Hope this helps.

Also

<catphotos id="cat photos"></catphotos>

This is not standard HTML, where does it come from? you can safely remove it.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.