Learn HTML by Building a Cat Photo App - Step 12

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

i just can not get the n12 to work… whyyyyyyyyy

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a href=https://freecatphotoapp.com<a/></p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

this is not a valid anchor element.
Compare it to the one you already made from step 10/11
<a href="https://freecatphotoapp.com">link to cat pictures</a>

A good anchor element has 3 parts.
The first part is the opening tag. All tags always start with < and end with >
So in your case:
<a href=https://freecatphotoapp.com
There is a missing >

The second part of an anchor element is the text or the element that will become the link. In your case you didn’t make anything become a link even though the request is to make cat photos into a link.

The third part is the closing tag. Your element has that.

So make sure all three parts are correct and refer to the example from step10/11 to confirm.

thank you very much. very nice explained.

1 Like

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