Ive tried and tried

Tell us what’s happening:
Describe your issue in detail here.

  **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:
        <ul>
          </ul>
      </h3>
    </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/101.0.4951.67 Safari/537.36

Challenge: Step 19

Link to the challenge:

Hi, when the lesson says to put the ul under the h3 it means after the closing tag. The closing tag looks like this </h3>. You’ve put it inside the h3 element which is causing the error message.

This is what it looks like when one element is put under another element. An element has an opening and closing tag*. A closing tag has a slash before it inside the triangular brackets.

<h1>I am an element</h1>
<p>I am an element under an element.</p>

*there are self closing tags, but they won’t come in until later. So don’t worry about it right now.

I tried it.
it didn’t wok

Cat Lists

    <h3>Things cats love:</h3>

    <ui>

      </ui>

Test

Sorry, your code does not pass. Keep trying.

Hint

Your ul element should have an opening tag. Opening tags have this syntax: <elementName> .

i and l are different letters

1 Like

you should rather type

and not becasue i is not the same as l.

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.

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