Learn HTML by Building a Cat Photo App - Step 12

I dont get whats wrong with my p element and a element code

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>

<!-- User Editable Region -->

      <!-- TODO: Add link to cat photos -->
      <a href="https://freecatphotoapp.com">cat photos</a>
      <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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Is there something wrong with my code???

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>

<!-- User Editable Region -->

      <!-- TODO: Add link to cat photos -->
     <p><a href="https://freecatphotoapp.com">cat photos</a>
      <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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

In the instructions it says to link the words “cat photos” with the tag “a
but not delete the previous text “See more:smile: :cat2:

Also, it looks like you are missing a closing tag for one of your elements. Good luck!

Welcome @sanoeyoshioka! Your a elements are fine. The problem is with the p element.
Compare what you have now:

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

with the code you had when you began this step:

<p>See more cat photos in our gallery.</p>

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