Where does the a element go

Tell us what’s happening:
Describe your issue in detail here. ive written then code for the ‘a’ element but where does it go,

  **Your code so far**

~<h2>CatPhotoApp</h2>
<main>



<img src="https://www.bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back.">
<a href="https://www.freecatphotoapp.com">this links to freecatphotoapp.com</a>




<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 (Linux; Android 11; SAMSUNG SM-A715F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/14.0 Chrome/87.0.4280.141 Mobile Safari/537.36.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

The issue isn’t where it goes - where it is is fine.

Read the error message from the failing test - it is telling you what is wrong:

Your a element should have the anchor text of cat photos .

The issue is the text in the link. The instructions say that it should say “cat photos” but yours says "this links to freecatphotoapp.com".

When I fix that, your code passes for me.

You’re probably supposed to have anchor text of cat photos

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