Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:

my code doesn’t run through even though i followed the instructions

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves cute cats online!</p>

<!-- User Editable Region -->

      <h3> See more   </h3>
      <a href="https://freecatphotoapp.com">cat photos</a>
      <h4>in our gallery </h4>

<!-- 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/132.0.0.0 Safari/537.36 Edg/132.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Hi and welcome to the forum!
Are you sure about using h3 and h4 tags?

you should not create a new element in this step, add the text on the same line as the a without creating a new element

2 Likes

yah i didnt have to use them

1 Like

Thank you very much it worked