Hello Everyone! I am getting an error message stating // running tests Your li element should have a closing tag. // t

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

<p>Things cats love:</p>
<ul>
  <!-- 3 <li> here -->
    <li>ghgu</li>
    <li>ukg</li>
    <li>jfhtd</li>
</ul>

<p>Top 3 things cats hate:</p>
<ol> 
   <!--3 <li> here -->
    <li>bnny</li>
    <li>ju76</li>
    <li>tu5h</li>
</ol>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14388.61.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.107 Safari/537.36

Challenge: Create an Ordered List

Link to the challenge:

your code seems to be correct but by copy and Pasting it get error and when , I try by myself it is passing

eg:

<ol> 
   <li> water </li>
   <li> milk </li>
   <li> something </li>
</ol>
1 Like

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