About my mistake

Tell us what’s happening:
Hello, experts
I need your help.

I did a test of “Basic HTML and HTML5: Create an Ordered List”
I’m not sure what is my incorrect.
so please help me…
Thank you in advance

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>Things cats love:</p>
<ul>
  <li>cat nip</li>
  <li>laser pointers</li>
  <li>lasagna</li>
</ul>

<p>Top 3 things cats hate:</p>
 <ul>
  <ol>
    <li>Flee treatment</li>
    <li>Dogs</li>
    <li>other cats</li>
  </ol>
  </ul>
</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:

Ordered list tags are: <ol></ol>
Unordered list tags are: <ul></ul>
You put the <ol></ol> code inside an unordered list, so the HTML can’t decide that it is an <ol> or an <ul>.
You have to delete the <ul></ul> tags under the “Top 3 things…” paragraph, to make it work.

2 Likes

I agree with @ennlacc’s opinion.
check my code.
image

2 Likes