Learn HTML by Building a Cat Photo App - Step 10

how do i properly anchor
Your code so far

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

<!-- User Editable Region -->

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

<!-- 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/117.0.0.0 Safari/537.36

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

Link to the challenge:

Let us take a look at the example provided in the challenge.

<a href='https://freecodecamp.org'></a>

Here the anchor is set to go to https://freecodecamp.org. Additionally an href is used to set the destination of the anchor elements. I believe this answers the question. Reply in the thread if you’re still confused.

Happy learning. :slight_smile:

im still confused because where does the anchor go?

Below the p element.

Hello!

@a2937 provided the example of the anchor to help you.

I think the confusion is that, thinking of an anchor, we are looking for something that needs to be anchored.
However, for this step, we are only creating the anchor below the p element statement as the instructions state, and @bbsmooth explained.

If you create the anchor below the p element statement, with nothing but the href in it but the opening and closing tags, you can move on to the next step in your coding journey.

Keep up with your progress!

Happy coding! :slight_smile:

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