Build a Cat Photo App - Step 22

Tell us what’s happening:

My step 22 code is correct but it’s not submitting

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/>
    

<!-- 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/138.0.0.0 Mobile Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 22

Your ul element should have opening and closing tag.

1 Like

Hi! Is <ul/> the correct syntax for opening an unordered list element? Think about it carefully… <ul> is not a void element, so it needs both an opening tag and a closing tag.

Hey buddy See here how you’ve used the h2 tag how the opening and closing tag get used here.

By using the same format you need to use the ul tag here.

Hope You Understand.

You need to put an opening tag for the ul element.

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