Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Describe your issue in detail here.

Could you please give an example or tip to this one.

Your code so far

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

Your mobile information:

SM-S906U - Android 13 - Android SDK 33

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

Link to the challenge:

your image needs to be link.

this means that link tag should start before image, and end after it.

Hello!

@diomed has provided good guidance.

I am including a link to an article that clearly explains and provides examples of how to turn both images and text into links. It was authored by one of the leaders.

Happy coding! :slight_smile:

mod edit: removed code

Your anchor tag was not properly stated. i.e

1 Like

@ElvisTheMan

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

2 Likes

I am really sorry for that. Thank you.