Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.
I don’t understand how to insert an open and close anchor around the words. “cat photos”
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>
      <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

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

Link to the challenge:

How did you do it here? You need to replicate what you did on this part of the code

Hi @lucianoclementi ,
You have to put <a>...</a> tags between the part of the text that you want.
i.e.

<p> this line has a <a href="http://someaddress.com"> link </a> try it! </p>

In the above sentence, “link” becomes a hyperlink.
Get the idea and try it with your code!

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