Learn HTML by Building a Cat Photo App - Step 12

Ive tried multiple ways to resolve this im stuck. :**
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a href="https://freecatphotoapp.com"> in our gallery.</a></p>
      <a href="https://freecatphotoapp.com">link to cat photos</a>
      <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 mobile information:

SM-S906U - Android 13 - Android SDK 33

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

Link to the challenge:

Hello and welcome to the community :smiley:!
The words ‘in our gallery’ should not be a link, they come after the link so put them after your closing </a> tag. In between your opening and closing a tags go the words that you want to turn into a link, which is in this case the words ‘cat photos’.

Welcome to the community!

If you are still struggling with this step, here is an example of how to do it.

Example: Anchoring red dog in the h1 statement

< h1> The big < opening anchor here> red dog< /closing anchor here> ran after the speedy kitten!< /h1>

As well, here is a great article, by one of our Leaders, that offers both instruction and examples for turning both text and images into links . Includes nesting them, too.

Happy coding! :slight_smile:

1 Like