Anchor element issue

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


  **Your code so far**

<a href="">cat photos</a>

<img src="" 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>

  **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 = "">cat photos</a></h2>


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.