Lists inside Lists Error Message - Please Help


#1


I keep getting this error message and I can not figure out what i am doing wrong. Al;though, it does print out correctly in the browser.

Error Message: Oops try again, make sure you add an unordered list on list 21. This is my code that starts on line 21.

Its Lesson 6, from HTML Basics II

<ul>
	            <li> Favorite Boys' Names</li> 
		     <ol>
		        <li>Bob</li>
                <li>Ken</li>
		        <li>Jim</li>
		      </ol>
		 
		       	 
		         <li>Favorite Girls' Names</li> 
		      <ol>
		          <li>Jane </li>
		          <li> Sue </li>
		          <li> Mary </li>
		        </ol>
		   </ul>


#2

the <ol> must be in the <li>
like:

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

#3

Thanks so much for your help. I have applied the suggestions you made, but still get the same error message. Error Message: Oops try again. Make sure you add an unordered list on line 21.


  • Favorite Boys' Names

    1. Bob

    2. Ken

    3. Jim



	   <ul>	 
	      <li>Favorite Girls' Names
	        <ol>
	            <li>Jane </li>
	            <li> Sue </li>
	             <li> Mary </li>
	        </ol>
	      </li>
	   </ul>

#4

Let me try that again. This is the HTML code.


  • Favorite Boys' Names

    1. Bob

    2. Ken

    3. Jim



	   <ul>	 
	      <li>Favorite Girls' Names
	        <ol>
	          <li>Jane </li>
	          <li> Sue </li>
	          <li> Mary </li>
	        </ol>
	       </li>
	    </ul>

#5

Not sure why it is doing that. I am cutting and pasting into the reply box.
The code for the favorite boys name is exactly the same, except is the text in the tags is different.


#6

OK last time, this is the html code, that I updated from your suggestion. Thank you. But still get the error message.


  • Favorite Boys' Names

    1. Bob

    2. Ken

    3. Jim



	   
	   <ul>	 
	          <li>Favorite Girls' Names
	             <ol>
	                <li>Jane </li>
	                <li> Sue </li>
	               <li> Mary </li>
	        </ol>
	   </li>
      </ul>

#7

WooHoo!! Issue Solved!!!


#8

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