Create an Ordered List in fcc

Create an Ordered List in fcc
0

#1

Tell us what’s happening:

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>things cats hate:<p>
   <ol>
 <li>bears</li>
 <li>being trapped in a garbage can</li>
 <li>black olives</li></ol>
  
</main><l/>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-an-ordered-list


#2

You have a few issues.

  1. The test is expecting to see “Top 3 things cats hate:” in your p element.

  2. You have not closed your p element properly.

  3. Get rid of the <l/> after </main>