None the answers I do don't work

I deleted one the <ul> said three <li> needs be in the the <ul> so i put both back and it’s still wrong.

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://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>

<p> Top 3 things cats love:</p>
<ul>
   <li>Milk</li>
   <li>Sleep</li>
   <li>Owners</li>
  </ul> 
<p>Top 3 things cats hate:</p>
<ul>
 <li>water</li>
 <li>mice</li>
 <li>strangers</li>
</ul>
<ol>
<li>Crystal</li>
<li>Garfield</li>
<li>Sylvester</li>
</ol>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36.

Challenge: Create an Ordered List

Link to the challenge:

I have edited your post for readability. To include text inline, you can add a single backtick ` before and after the code.

You have two unordered lists <ul></ul>, there should only be one. Remove the unordered list you have between the first ul and last ol.

I tried that and it was still wrong said there need be 3 in a

    Post your latest code.


    When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

    You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

    See this post to find the backtick on your keyboard.
    Note: Backticks (`) are not single quotes (’).

    <p> Top 3 things cats love:</p>
    
    <ul>
    
         <li>Milk</li>
    
         <li>Sleep</li>
    
         <li>Owners</li>
    
      
    
    <p>Top 3 things cats hate:</p>
    
       
    
       <li>water</li>
    
       <li>mice</li>
    
       <li>strangers</li>
    
    </ul>
    
    <ol>
    
      <li>Crystal</li>
    
      <li>Garfield</li>
    
      <li>Sylvester</li>
    
    </ol>
    
    </main>
    

    after i took out <ul> and </ul> // running tests You should have three

    li
    

    elements within your

    ul
    

    element. // tests completed

    Please format your code like explained.

    When I say remove the ul. It means remove the start tag <ul>, everything in between (i.e. all the list items li) and the end tag </ul>.


    <h2>CatPhotoApp</h2>
    <main>
    <p>Click here to view more <a href="#">cat photos</a>.</p>
    
    <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
    
    <p> Top 3 things cats love:</p>
    <ul>
       <li>Milk</li>
       <li>Sleep</li>
       <li>Owners</li>
      </ul> 
    <p>Top 3 things cats hate:</p>
    <!-- Start of what you need to remove -->
    <ul>
     <li>water</li>
     <li>mice</li>
     <li>strangers</li>
    </ul>
    <!-- End of what you need to remove -->
    <ol>
    <li>Crystal</li>
    <li>Garfield</li>
    <li>Sylvester</li>
    </ol>
    </main>
    

    I removed the love one n it said both the love n hate needs be in it so i dont know

    Close the /ul tag before the p of things cats hate. Don’t use the ul tags for the things cats hate just open it with ol tag and close with /ol closing tag

    ok now i think i understand so im supose be doin just ol on the hate one n the ul is for the love one?

    thank you all for the help

    1 Like

    Yes but it is not as confusing as it sounds the first one is a bulleted list and the second is a ordered list and you just need to use those tags to tell that to the code.