Learn HTML by Building a Cat Photo App - Step 15

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.">
      
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

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

Link to the challenge:

Hi @abdulmananrahimi5565 ,

You need to make the image a link as opposed to text “cat photos”

hi, welcome to the forum!

I see you are trying to turn the img into a link.
I see you started writing out the anchor tag but it is not complete yet.
All HTML tags must end with a > angled bracket, but your opening anchor tag seems to be missing that.
(refer back to how you did it in step 10/11/12)
Also you seem to be missing the closing anchor tag as well which should be on the other side of the img tag.

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