Help with HTML code -step 14

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a target="_blank" href="">cat photos</a></p>
   <a>  href=""> <img src="" alt="A cute orange cat lying on its back."></a>

it says " Your anchor ( a ) element should link to . You have either omitted the URL or have a typo." when i check my code

  **Your browser information:**

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

Challenge: Step 14

Link to the challenge:

It’s a very simple mistake, you added your href attribute out side of the <a> tag.
It needs to be <a href="linkhere">Some Text</a>
Or to be more specific, you accidently added a second > as if you remove the one infront of the a, it will fix it.
Happy coding! :slight_smile:

You have a second bracket on the first a before the href. Try taking that out and see what happens

1 Like

thank you it fixed the code:)


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