Learn HTML by Building a Cat Photo App - Step 9

Tell us what’s happening:

The alt command does not work. I checked YouTube and copied it but it doe not work

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 -->

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

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 9

Welcome to the forum @ayaansajids23

  1. Please remove the space after the first quote mark
  2. You have the word laying, while having a similar meaning to the required word, it is not spelt the same as the version in the instructions.

Happy coding

You may want to add a period at the end of the sentence. I added it, and it worked.
Hope it helps!

Thank you very much as this helped out a lot!

1 Like

You helped a lot too! Thank you!!