Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:

Hi. i am completely new to coding but i am having a bit of trouble with this step. I don’t know if i am typing in something wrong but it keeps saying the img element is wrong and that i may have deleted it but when i go over the img, it does not seem incorrect. Can someone tell me if i have typed something in 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."></a>

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

You have two errors in your code:

  1. You have not closed the anchor element properly with the >
  2. There is a missing double quote(") at the end of the src link of the image element

Following above suggestions from @Cryptic_X , You also need quotation marks around your href attributes value "link".
@1-89032