Learn HTML by Building a Cat Photo App - Step 12

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

Your code so far

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

<!-- User Editable Region -->

      <p>See more cat photos <a href="https://freecatphotoapp.com" a>in our gallery.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>

<!-- 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 (X11; CrOS x86_64 14092.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.107 Safari/537.36

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

Link to the challenge:

Since you want to turn the words “cat photos” into a link then the anchor element needs to go around those words.

Just like how you turned the words “link to cat pictures” into a link in the previous steps.

Also, the example in the instructions shows you how to turn words in the middle of a sentence into a link.

Finally, don’t forget that an anchor element has both an opening and closing a tag. Again, look at the link you already created, or the example in the instructions, to see how you wrap words in an anchor.

1 Like

Welcome to the community @Shadaye_2 !

Your code is very close.

You have the correct idea on how to anchor within the p element. .

If you are able to move the opening anchor before the words

cat photos``` instead before the words ```in our gallery.```, 
and add the closing anchor after the word ```photos``` with the
anchor tags touching the link words like 
```>text here<```

It should pass for you.

Happy coding @Shadaye_2!

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