Learn HTML by Building a Cat Photo App - Step 9

Tell us what’s happening:

img alt and src issues and problem. cant seem to get it.

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="A cute cat lying on its back">

<!-- User Editable Region -->

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

HI @marleneneilson66 !

It looks like you removed some code you weren’t supposed.
Reset the lesson.

The lesson wants you to add an alt attribute.
You should not touch the src attribute at all

Hope that helps

Hi @marleneneilson66

Here is the example code from step 9:

<img src="cat.jpg" alt="A cat">

Here is the original code.

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">

Please follow the advice from @jwilkins.oboe and reset the step to restore the seed code.

After the src attribute, you need to add an alt attribute.
Make sure you enter the exact text given in the instructions.
If you want, you can copy and paste the text.

Happy coding