Learn HTML by Building a Cat Photo App - Step 12

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 -->
      <p>Click here to view more<a herf="https://freecatphotoapp.com">cat photos</a></p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

hello thank you for helping me out, I’m suppose to Add an (a) in the (p) element and make “cat photos” a link to the lower (a) link but Ive tried everything that I could think of.

Hi,
Check the spelling within your first anchor in p element. it should be href and not herf.

Thanks

1 Like

hi there,
You have to fix a few things to make the final result look like this:

Click here to view more cat photos.

Notice the space between the word more and cat? You need to put that space back after the word more.
Then also there is a period at the end? This period should be there but not part of the anchor. (inside the paragraph)

And as mentioned earlier, you will need to fix the spelling of the word href (which stands for hyperlink reference btw. so hopefully that helps you remember the spelling)

1 Like

thank you this helped a lot.

1 Like