Learn HTML by Building a Cat Photo App - Step 9

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 -->
      <p>See more cat photos in our gallery.</p>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"><img src= alt="A cute orange cat lying on its back.">
    </main>
  </body>
</html>

Your mobile information:

CPH2239 - Android 11 - Android SDK 30

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

Link to the challenge:

Get rid of all this. All your image attributes including your ‘alt’ have to go in the opening element of your image tag. You can have any number of attributes in one elements opening tag.

Put your ‘alt’ attribute before your opening elements closing bracket and remove all extra tags you have after it.

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