Learn HTML by Building a Cat Photo App - Step 12

*hi everyone,

i’m on step 12 now
it says “You can turn any text into a link, such as the text inside of a p element.”
In the text of your p element, turn the words cat photos into a link by adding opening and closing anchor (a) tags around these words. Then set the href attribute to https://freecatphotoapp.com/

my ans:

See more cat photos in our gallery.

is this correct?Tell us what’s happening:*
Describe your issue in detail here.

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 href="https://freecatphotoapp.com/">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/116.0.0.0 Safari/537.36

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

Link to the challenge:

Hi there! There’s no / at the end of the website. Easy fix. I’ve found that copying and pasting the links exactly help with the challenges since they’re specific about the text. :slight_smile:

Hi, I’m having the same issue my code is exactly the same as the one above and i have included the / at the end of my website. helppp

Actually, I just went back and re-checked and it looks like it is asking you to use the / but when I took it out the code passed. Odd!

What is the error saying when your code doesn’t pass? Can you copy and paste it here?

It says:
The link’s

href

value should be

https://freecatphotoapp.com

. You have either omitted the

href

value or have a typo.

Hm, yeah, that’s so strange. Can you try the website without the / at the end and see if it passes?

It worked! very strange though.

Thanks so much!

2 Likes

Definitely strange! I’m glad it worked for you though :slight_smile:

1 Like

I think this may be the issue here (see above). Hope this works for you!

1 Like

hi!
thank you very much for your help!!! amazing lol

1 Like

hi!
it worked! thank you so much for your help. amazing! lol

2 Likes

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