Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

Describe your issue in detail here.
i don’t get output successfully.so please help me

Your code so far

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

<!-- User Editable Region -->

      <p><a>see more click here <a href> = 'https://catphotos.com'."https://freecatphotoapp.com"</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/119.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

2 Likes

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Your code has become a little muddled, so the best option would be to hit the Reset button and try this step again.

You should be turning the text ‘cat photos’ into a link.

Here is an example of how you can turn a portion of text into a link:

<!-- text without link -->
<p>Please visit my website for awesome content.</p>

<!-- 'my website' turned into a link -->
<p>Please visit <a href="example.com">my website</a> for awesome content.</p>
1 Like

Good job! Very close. Get rid of the first opening ‘a’ tag right after the opening ‘p’ tag. The next ‘a’ tag is closed to early. Erase the ’ > ’ right after ‘href’ and put the ’ > ’ after the url link. As well as it looks like there is extra text in the link in separate quotations. I think the ‘tcatphotos.com’ should be erased as well as the ’ . ’ that looks like it is trying to separate the 2 urls. I hope this puts you on the right track!

MOD EDIT: Solution removed.

Please don’t post solutions on the forum. We are trying to cut down on the number of spoilers and solutions, as we are here to offer guidance and assistance, rather than simply offering the answers to challenges.

1 Like

oh ok , thank you for letting me know.

1 Like