List within list


#1

	<ul> interests </ul>
	    <li> Computers</li>
	    <li>Sports</li>
	    <li> Life Guarding</li>
	    <li>Girls</li>
	<ul> yeash</ul>
<p> other stuff </p>
	  <li>Interests
	    
	       <ol>
	            <li> Computers</li>
	            <li>Guitar and Drums</li>
	            <li>Football and Basketball </li>
	       </ol>
	       
	   </li>
</ul>
<ul>
<li> idk </li>
<li> idek </li>
</ul>
	</body>

it says i dont have an ordered list in a list


List within list help
#2

^this is the correct format.. Now look at the below code which you have

Next part here's a closing ul tag where's the opening tag?


#3

@netpro98337,
If you are using an <ul> </ul> pair
or an <ol> </ol> pair
you should imagine that setting up a kind of box each with it's specific characteristics.
In such a box you then place you list by using 1 or more lines <li> </li>

For instance
if you use the <ol> </ol> pair
every list-Element <li> </li> will be by default be =numbered=

The HTML-code

<ol>
   <li>first <line> </li>
   <li>second <line> </li>
 </ol>

would be a box like

<ol>-------------------------------------+
  |       1. first <line>                |
  |       2. second <line>               |
  +-----------------------------------</ol>

It is important
that you always keep an eye on closing the =pair= of HTML-Tags

If you read the documentation
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li
you will encounter the mentioning of the list-style-type
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type
it is with this list-style-type attribute that you can manipulate
how the lines are displayed in your <ul> </ul> or _<ol> </ol> =box=.

Now to this Lists within Lists exercise....
the code-checker expects....

  • Make sure you have at least one ordered list and one unordered list inside your unordered list of profile sections!

<ul>
  <ol>
  </ol>
  <ul>
  </ul>
 </ul>
  • Make sure all your unordered lists have at least one list item

<ul>
  <ol>
     <li> </li>
  </ol>
  <ul>
    <li> </li>
  </ul>
 </ul>
  • Make sure you include text between all of your list item

<ul>
  <li>text </li>
  <ul>
    <li>text</li>
  </ul>
  <ol>
       <li>text </li>
  </ol>
 </ul>

#5 - Lists Within Lisrs HELP