Anchor element issue

My code appears to be right, but it still says it must link to an https://freecatphotoapp.com. I placed this site into the anchor element, but I cannot pass. What gives? Can anyone help me?

thanks

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<a href="https://freecapphotoapp.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>

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15.

Challenge: Link to External Pages with Anchor Elements

Link to the challenge:

<h2><a href = "https://freecatphotoapp.com">cat photos</a></h2>

try…this…

that worked!
Do all a href’s need to be in a h2 element?

It must be inside a text tag.

“cat photos”

try this bro.

No, @RitaR it is not necessary to keep all the anchor elements in the h2 tag

1 Like

you had misspelled the url

it doesn’t need to be in the h2 at all, it was just needed to be cat instead of cap

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