Learn HTML by Building a Cat Photo App - Step 10

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

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

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

<!-- 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.">

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Mobile Safari/537.36

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

Link to the challenge:

1 Like

This is not the correct way to structure an anchor element.
Check the example below.

<a href="" >Text</a>

1 Like

Hii there, to add an anchor tag
It is required to put it in a right way.

First opening tag then closing tag and your href attribute and need to assign the link address in it.

<a href="link"></a>

Hope this helps you. :blush:

1 Like

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