Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
I’m on step 15, I think my code is finished but when I check it doesn’t go through, my hint says ¨You should only add one opening anchor (a ) tag. Please remove any extras.¨ But I’m lost on what extra opening anchor is in my code. Somebody help a young boul.

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"</a> <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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

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

Link to the challenge:

Welcome to the forum!

you have a typo here, one of the brackets is missing

Also, opening tag of anchor should before img element, closing tag of anchor should be after img in order to complete this step.

This is not valid syntax. Your opening <a> tag is missing >. Also, if you want to turn an image into a link you need to enclose it within a tags, nesting the <img> element inside the <a> element.

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