Learn HTML by Building a Cat Photo App - Step 12

My code isn’t working. It always comes up as wrong.

Your code so far

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

<!-- User Editable Region -->

      <p>See more cat photos in our gallery.</p>
        <a href="https://freecatphotoapp.com">cat photos>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

Hello and welcome to FCC Forum, a community of people helping each other!

To pass this step we need to anchor the words cat photos while they remain within the p element statement.

< h4>This is < a href=“some url”>an example< /a> of how to turn text into a link while keeping it within the h4 element. < /h4>

The above is an example using the h4 element, in place of the p element statement and made up link connection, instead of the one that needs to be use.

I hope this helps you.

Here is a good article on turning both text and images into links. It has examples, too.

Keep up the good progress! :slight_smile:

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