Learn HTML by Building a Cat Photo App - Step 15

no idea what to do

      <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 target="_blank" href="https://freecatphotoapp.com"<img< src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"</a> alt="A cute orange cat lying on its back.">

<!-- User Editable Region -->


Your browser information:

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

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

Link to the challenge:

You don’t want to change anything about the img tag. You might want to restart the step to get the correct img tag back.

Look at how you turned the words cat photos into a link. You did that by surrounding them with a tags. That’s how you turn anything into a link, by surrounding it with a tags. This is exactly what the instructions say:

“Other types of content can also be turned into a link by wrapping it in anchor tags.”

So how do you think you would turn an img element into a link?

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