Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:

Describe your issue in detail here.
i have tried to run my code a couple of times but it does not pass i dont understand where the problem is .kindly help me figure it out

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

    <a href= "https://freecatphotoapp.com " > <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> </a>

<!-- User Editable Region -->


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hi there and welcome to our community!

You always need to be mindful of spacing. You have a number of unnecessary spaces in your code:

  1. Between the href and its value.
  2. At the end of the href url, before the closing quotation mark.
  3. After the closing quotation mark of the url.
  4. Between the opening anchor tag and the img tag.
  5. Between the img tag and the closing anchor tag.

Never add additional spaces unless they are specifically required to achieve a particular result or for correct syntax (e.g. the necessary space between the two attributes in your img element). Some of them will not cause your code to crash or fail the FCC tests, but it’s still a good habit to get into.

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