That CatApp is killing me....lol

The further this challenge progresses they less that is explained and the less I understand what to do. So here is what I got:

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <main>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>

Step 14
Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com as the anchor's href attribute value.

<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>

I have no idea where to begin.

Is there some material I should read before doing any of this? It said for beginners but I’m totally lost w/ the way this is explained. Any help?

1 Like

Hi @Decimus !

I have edited your post to include the challenge link.
In the future, please include this link so we know what you are working on.

As for the challenge, it wants you to wrap the img element inside anchor tags.

Here is the image element

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

In front of the img element you will place an opening anchor tag with the href value of https://freecatphotoapp.com

At the end of the image element you will place a closing anchor tag.

This new curriculum is promoting more of the Read-Search and Ask method.
When you get stuck on issues, it is completely normal to search through articles on how to do a particular task so you know how to apply it to the lesson.
This is good practice for real world development.

In this case, when I search for “how to turn an image to a link html” into google, this is the first result I get

This result is helpful because it provides an example of what to do.
Then you can apply that to the challenge.

Hope that helps!

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