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

<!-- 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 the problem is 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!

Even though you created a link with the text “cat photos.” in your code you added it to the existing text. Read the text that your solution outputs and see if there is something you can fix there. :slight_smile:

Welcome to the community!

Great job of creating a cat photos link. It shows you know the process of how to create the link. :slight_smile:
However, this step asks us to create the link within the existing p element statement.

To change the text cat photos into a link within the statement, you could do very similar to how it was done here but within the p element statement, and not leaving the any spaces are around the words cat photos.

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

I suggest using the above example from the lesson as a reference on how to do it.

Happy coding! :slight_smile:

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