Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

Describe your issue in detail here.
Can’t seem to figure this one out. I’ve checked the forum for help but none of the other answers seem to work for me.
I believe I’ve got something wrong about the href but haven’t figured out what. Any advice would be much appreciated!

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

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

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

Your browser information:

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Take a look at this a element and compare it to your previously added a element and you’ll notice something is missing assign the appropriate link and you should be good.

Welcome to the community @olimarque !

You can find help for this step and many steps in the future through this great article found in the FCC News category with great explanations and examples of turning text and images into links.

FCC News Article Turn Image and Text Into Links

Happy coding!

1 Like

I’ve looked and I still can’t figure it out.

Thank you for attaching this link, it’s very informative but unfortunately I still haven’t figured out what’s wrong with my code.

1 Like

You are missing the href attribute inside of your <a> element. If you add that and assign the appropriate link you should be set. Reference the link you created previously listed below this one in the editable text area.

I finally figured it out, thank you for your help.

1 Like

I finally figured it out, thank you for your help!

1 Like

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