Build a Cat Photo App - Step 11

Tell us what’s happening:

in my code i wrapped catphotos first and then after searching in forum i wrapped cute cats both of them are not correct

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>

<!-- User Editable Region -->

      <cute cats href="https://freecatphotoapp.com"></cute cats>

<!-- 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/134.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 11

If you want to turn a portion of text into a link, you need to enclose only that text within anchor tags.

EXAMPLE:

<!-- text without link -->
<p>Please visit my website for awesome content</p>

<!-- 'my website' turned into a link -->
<p>Please visit <a href="example.com">my website</a> for awesome content</p>

Hey @_user1 :waving_hand:

You are supposed to create an <a> tag are wrap it around the text

the element you created i.e <cute cats> does not exist!

Hope this helps :sparkles:

1 Like