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

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</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.">

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0

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

Link to the challenge:

Welcome to or community!

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

see attachment below. after inputting the required code to make the cat picture a link, it is still saying that my code doesn’t pass hinting me ’ You should only add one opening anchor (a) tag. Please remove any extra’ and i have checked i see only one opening anchor. so i am confused. please help.

In your previous steps you learn how to used an anchor element to turn text into a link right? Yes.

In the same approach turn your “img” into link.

Use this rule:

<a href="something"><img></a>

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