Code not working at this point

Tell us what’s happening:
Describe your issue in detail here.
The code is not working at " View more photos section" Nothing is working so its obvious that i am stuck at this point. Any suggestion here will be highly appreciated. Thanks.

  **Your code so far**

    <h2>CatPhotoApp</h2>
<main>
<a href="https://www.freecatphotoapp.com" target="_blank">cat photos</a>
<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>
<p> View more <a href="http://www.freecatphotoapp.com"> cat photos</a> </p>  
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0

Challenge: Nest an Anchor Element within a Paragraph

Link to the challenge:

You have added two anchor elements, but you should only have one.

1 Like

I am totally new to coding. Is that two anchor means in the same paragraph ?

In your code, you have two <a> tags (anchor tags) one is at the top and the other is in the paragraph. according to the challenge you need to only have one anchor tag that to inserted in a paragraph.

So you need to remove the <a> tag that is not in the paragraph, the <a> tag right below the main tag.

Hope you got the answer.
Happy Coding.

2 Likes

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