Why is still saying I need a anchor text?

Tell us what’s happening:

I -Have included a anchor element , destination where i it going , and text for it. So what am I still doing wrong …?

Your code so far


<h2>CatPhotoApp</h2>
<main>
<a href="http://freecatphotoapp.com" 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>

<!--
Create an a element that links to http://freecatphotoapp.com and has "cat photos" as its anchor text.
-->

Your browser information:

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

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

You didn’t add the anchor text close the tag correctly, which is breaking the tag.

Example:

<a href="https://freecodecamp.org">this links to freecodecamp.org</a>
1 Like

Your opening tag is supposed to be like <a href = ''>