Build a Cat Photo App - Step 24

Tell us what’s happening:

Step 24
After the unordered list, add a new image with a src attribute value set to:

And its alt attribute value to:

A slice of lasagna on a plate.
I tried this one and still failed

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
        <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
      </section>
      <section>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>

<!-- User Editable Region -->

        <ul>
          <li>catnip</li>
          <li>laser pointers</li>
          <li>lasagna</li>
</ul>
 <img> Code:https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg</alt>

<!-- User Editable Region -->

      </section>
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Mobile Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 24

you have previously added an image, review that

if you are confused or have questions, please ask your questions

Hi Buddy, Here you need to do some changes first here you need to put the link address in the double quotes " " then you need to put it to the value of src and do remove the </alt> as there is no need of this now.

img element is self closing element.

Hope You Understand.

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