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 -->

<!-- User Editable Region -->

      <p>See more cat photos <a href="https://freecatphotoapp.com"> 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/114.0.0.0 Safari/537.36

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

Link to the challenge:

Welcome to our community!

Please 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!

i have some issues in step 7 please clear me that

If you want to turn an image into a link, follow the rule:

<p>Text <a href="URL">two words</a> text.</p>

This is guidance for this challenge.
P.S.
In the existing sentence between ‘p’ tags, surround the words "cat photos: with ‘a’ tags.
You didn’t do that. Instead, you have only put the opening <a href="url"> tag into the sentence, leaving the words “cat photos” without any link reference.

You have the correct idea by keeping it within the p element.

The change necessary is to place the anchor around only the words that you wish to turn into a link. Do not remove anything, or change anything else. Just place the anchor with the ‘link words’ within it. I think of anchors as supports on each side of whatever I need to anchor, be it text or images.

Happy coding!

thankyou for guiding
me for that

1 Like

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