Learn HTML by Building a Cat Photo App - Step 12

Your code so far

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

<!-- User Editable Region -->

      <p>Seemoreinourgallery<a href="https://freecatphotoapp.com">cat photos</a>.</p>
      <a href="https://freecatphotoapp.com"

<!-- 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 Edg/116.0.1938.81

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

Link to the challenge:
https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-12`Preformatted text`

Hello!
To complete this step, the instructions would like us to anchor the words cat photos to make them into a link. We need to do this with the words remaining within the p element statement.

< h4>As an < a href=“some url”>example this statement< /a> would have the words example this statement as a link within the h4 element statement.
< /h4>

Happy coding! :slight_smile:

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

See more <a href=“https://freecatphotoapp.com”.>cat photos in our gallery.

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

<!-- User Editable Region -->

      <p> <a See more  href="https.//freecatphotoapp.com".>cat photos</a> in our gallery.</p>
      "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 Edg/116.0.1938.81

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

Link to the challenge:

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!

You don’t want to include text (i.e. “See more”) inside the opening a tag.

Also, don’t make any unnecessary changes, such as changing the opening a tag on the link below the p element.

It would be good if you looked at the example the challenge gave you again.

<p>I think <a href="https://www.freecodecamp.org">freeCodeCamp</a> is great.</p>

Your code is going to be very similar to this

1 Like

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