Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

Step 14
Turn the text cute cats into an anchor elements that links to https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>

<!-- User Editable Region -->

      <!-- TODO: Add link to cat photos -->
      <p>
      <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a>Everyone loves cute cats online!</p>
      <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

<!-- User Editable Region -->

    </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/130.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

You are asked to wrap the anchor tags around the existing words in the text “cute cats” . You have duplicated the text at the start and wrapped the anchor tags around that.

2 Likes

Hey Buddy, Here below see the exact line given in instruction.

<p>Everyone loves cute cats online!</p>

Kindly remove the extra code and only convert given text into link.

1 Like