Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

Hello I’m having serious trouble anchoring this, i’ve tried everything in the forum but I’m still not getting it.

Everyone loves cute cats online!<a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg"cute cats

Your code so far

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

<!-- User Editable Region -->

      <p>Everyone loves cute cats online!<a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg"</a>cute cats</a></p>

<!-- User Editable Region -->

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

hello and welcome to fcc forum :slight_smile:

  • you need to turn “cute cats” into anchor tag but you created a new “anchor tag” with that text which you dont have to
  • its still salvageable but you need to shift around this snippet a bit, better would be restart and simply turn that “cute cats” into an anhor tag keeping rest as it is

happy coding :slight_smile:

1 Like

here you can see an example where “cat photos” links to something else

But it says to have only one instance of “cute cats” and the

statement has to be “Everyone loves cute cats”

yeah, also make sure that you dont have any commented out similar text there as well

  • did you try restart and tried again with given text only?

you can share your attempted code snippet for this step so that we can have a look, happy coding :slight_smile:

Yes i restarted the lesson
This is my attempted code
<p>Everyone loves cute cats online! <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg"</a>cute cats </a></p>

you have added new words “cute cats” instead of using those that were already there, please reset the step and try again

use this as an example

  • when you do this, you will see in preview that there are Two “cute cats”, ryt?
  • here, one is just plain text and another is an anchor tag, now try to “Replace” this plain “cute cats” text with your “anchor element” and try again, see if that changes

happy coding :slight_smile: