Learn HTML by Building a Cat Photo App - Step 9

Tell us what’s happening:

I tried all the methods on the forum still could not get it to work pls how do I move on

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">
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"> alt="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/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 9

this should go before the angular bracket > so that it is inside the tag. Also you should have only one img element

1 Like

Hi there! There’s no need to put your code in the “Tell us what’s happening section”.

Place your alt description inside the tag

Your image link does not need to be duplicate. Remove the second image link. Next as the example shows " Inside the img element, add an alt attribute with this text:"

Mod Edit: SOLUTION REMOVED

The attribute(alt) needs to be inside your image link after src. As the text to be shown if image does not load on web page. Happy coding :grinning:

1 Like

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.