Help with HTML code -step 14

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

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a></p>
   <a>  href="https://freecatphotoapp.com"> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
  </main>
</body>
</html>

it says " Your anchor ( a ) element should link to https://freecatphotoapp.com . 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:)

2 Likes