Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
I have been stuck on this for a while now and can’t seem to figure out what I’m doing wrong. It keeps telling me either that I need to remove any extra (a) tags (I don’t see any) or that I may have deleted the src value. I know the solution is right under my nose and I’ll likely have a facepalm moment when it’s solved, but I can’t figure out what keeps going wrong.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

      <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.">

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

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

Challenge: Learn HTML by Building a Cat Photo App - Step 15

Link to the challenge:

Remember, the anchor (a) element has both an opening and closing tag because you wrap an element or text in it.

I tried wrapping it with (a href) and (a/) but it just keeps that I should only add one opening anchor tag and to remove the extras. What am I doing wrong?

You’ll need to paste your updated HTML in here so we can see what you did. To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </> button above the editor to add the triple back ticks.

Also, the closing tags starts with /, not ends with it.

<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>

Strings (such as a URL) need to be wrapped in quotes. I think you forgot one.

YES that was it!! Thank you so much <3