Learn HTML by Building a Cat Photo App - Step 9

Tell us what’s happening: I’m not sure what I’m doing wrong .
Describe your issue in detail here. Sorry, your code does not pass. Don’t give up.
Your img element does not have an alt attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names.

A cute orange cat lying on its back
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

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

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

After closing </main> you add an extra image as the same before. Its not needed.
Write the alt attr and name in the editable region and delete the img after closing main tag. @jfd772

Cheers mate, need all the help i can get…

Mod edit: removed
This is the true one.

click the reset button on the panel and add alt atrr to img with given text


It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like

Hey, I agree but I wasn’t posting the solution. when I hit submit it said that i was wrong. To tell you the truth i only started this for the first time last night did a couple of challenges before I signed up. So what your saying was not my intention at all in anyway :grinning:

You can see in my post I tagged who I was referring to. So you are fine, just those answering questions shouldnt give solutions like the other user did