Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

i solved the first task but the second is already sloved , and i can’t get into the next one

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 <a "cat photos"</a> in our gallery.</p>

<!-- User Editable Region -->

      <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.">
    </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/126.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Hi ahmed! To link text, surround the text with anchor tags (<a>text</a>). For the text to actually become a linked-text, you’ll need the attribute href within the tag itself, and assign a destination.

For example:
<a href="www.destination.com">text</a>

Reread the instructions carefully to find the desired destination.

1 Like

Hey Champ , Here kindly put closing bracket > after your a tag ,

Then insert href element and assign link address into it !!

That is so simple to do !!

Hope You Understand!!