Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

My code says there should only be one instance of the phrase cute cats in the code, but yet i must maintain the p element as Everyone loves cute cats online!. cute cats must the anchor element. what can i do correct this code?

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">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>
1 Like

Hello and welcome to the Forum Community @YozefNsenga !

Good attempt!

If we look at the p element below Everyone loves cute cats online!

The above quote was

<p>See more cat photos in our gallery.</p>

We can see how to place the anchor around the words cute cats while it is still within the p element statement.

I hope this helps you!

Wishing you good progress on your coding journey. :slightly_smiling_face:

1 Like

Wow. This is mostly interesting. Where do i keep the online! comments?
Edit #1, Thanks I got it right.

1 Like

I apologize. I am not sure I understand.

If the p element is

Everyone loves cute cats online!

the opening anchor would be before the word cute and the closing anchor after the word cats. We are only adding the anchors into the statement, rather than adding anything new.

Here is a great link that I use to help me with creating links of both text and images.

I hope this helps you @YozefNsenga !

May your enjoy good progress on your coding journey. :slightly_smiling_face:

Got it. the code passes the test.

1 Like

Congratulations! Well done! :clap:

Keep up the good progress, @YozefNsenga :slightly_smiling_face: