Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

where is this code wrong? I know I have no typos in code

Your code so far

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

<!-- User Editable Region -->

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

<!-- User Editable Region -->

      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Hi there,

We have a paragraph looks like this on the preview window on the right:

See more cat photos in our gallery.

And we have to make it looks like this:

See more cat photos in our gallery.

which is turning the words cat photos inside the paragraph into a link.

Take a look at the preview window on the right, does your paragraph look like that?


You can look at the example code as a reference:

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

The above example code creates a paragraph look like this:

I think freeCodeCamp is great.