Learn HTML by Building a Cat Photo App - Step 15

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

Having a hard time figuring this out. Although the picture is a link .

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"<a/> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"< "_alt=A cute orange cat lying on its back."
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36

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

Link to the challenge:

You solution for making the img into a link is not correct.

The above code shows the proper way to make something into a link (in this case, some words).

Please restart this step and try to copy the exact syntax of anchor tags so that the final code shows the opening tag of the anchor on the left side of the img and the closing tag of the anchor on the right (and nothing else)

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