Learn HTML by Building a Cat Photo App - Step 22

Tell us what’s happening:
WHAt am i doing wrong bruh???

Your code so far

<html>
  <body>
    <h1>CatPhotoApp</h1>
    <main>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>
        <ul>
          <li>cat nip</li>
          <li>laser pointers</li>
          <li>lasagna</li>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate."></img>
        </ul>
      </section>
    </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/106.0.0.0 Safari/537.36 Edg/106.0.1370.34

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

Link to the challenge:

Can you be a bit more specific about which part of the instructions or hints is confusing for you bruh? We can read the instructions but we can’t read what you are thinking.

This is not a valid tag.

Wait that’s not a valid tag? :skull::skull: Man i feel like im forgetting every last step :triumph:

<img> is a self-closing tag.

Your mistake is adding the <img> within the <ul>.
You have to add the <img> after the </ul>.

It says: There should be an img element right after the closing </ul> tag. Which i did and used the html element too ig it’s this one ‘<>’ idk :no_mouth:

@ties ohh :open_mouth: kinda makes sense let me try again

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