Learn HTML by Building a Cat Photo App - Step 12

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<a href="https://freecatphotoapp.com"> cat photos <a/> in our gallery.
      </p>
      
      

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

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

Link to the challenge:

Your spacing is off just a little. There should be no extra spaces inside of the link. The only space inside of the link should be between the words “cat” and “photos”.

You’ve got these reversed. Slash comes before the element name.

Also, for this step in particular, but a lot of others as well, you need to keep the p element all on one line, like it was originally. Don’t add line breaks in it. The tests won’t pass if you do that. As a general rule, I would not add unnecessary line breaks at all. If the starter HTML has code all on the same line then I would keep it that way, even if you have to add something inside of that line.

1 Like

your opinion on this please

Here you just need to add some space so that it will get space.

Second thing you should not add space between opening anchor tag and text between it.

Hope you understand.

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