HTML by Building a Cat Photo App - Step 12

Tell us what’s happening: on the html step 12 im just not getting the order in which to put the cat photos link and the https://fereecatphotosapp.com attribute

Describe your issue in detail here.

See more 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>See more cat photos <a href="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 Edg/119.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

How many links are you supposed to have? You have 2.

Your first link is malformed. Your opening anchor tag is missing the clossing bracket (>) and you will need to add text inside of the tag to act as the link.

1 Like

Welcome to the community @theahmeds08 !

The example for this step provides excellent guidance and is an excellent example of how to turn text into a link while it remains within the p element.

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

Prior to the anchor being added to the p element, this would read

<p>I think freeCodeCamp is great.</p>

I hope this helps you.

1 Like

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