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>

<!-- User Editable Region -->

      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
 <img src='A cute orange 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/114.0.0.0 Safari/537.36

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

Link to the challenge:

Hi there and welcome to the forum!

When you need help from the forum, please learn to describe the issue you’re facing in your own words. It’s not only a useful learning tool for you but also, the more you say, the more we can help!

It looks like you’re trying to add a description to your img element.

The instructions:

Inside the img element, add an alt attribute with this text:

A cute orange cat lying on its back

You shouldn’t be creating a new img element but adding the correct attribute (i.e. not src) to the existing img element. You can add multiple attributes to a single element’s opening tag, separating them with spaces.

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