Learn HTML by Building a Cat Photo App - Step 10

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.</p></a herf='https://freecatphotoapp.com'></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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Challenge: Learn HTML by Building a Cat Photo App - Step 10

Link to the challenge:

Hi there and welcome to our community!

It’s helpful if you can learn to describe the issues you’re facing in your own words, including any error messages you might be seeing. Not only is this a vital skill in coding but also, the more you say, the more we can help!

</a herf='https://freecatphotoapp.com'></a>

Firstly, you should put this line of code on the line below the p element, rather than following it on the same line, but that’s just a case of good formatting rather than bad code.

There are two small errors with the code however:

  1. Your opening a tag should not have a /.
  2. The attribute name is href, not herf.

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