10. font family


#1

I have no idea what is wrong with my code because I keep checking it and I cant find anything wrong with it and I've asked my computer science teacher and she cant find anything wrong with it and she said its probably a bug but I was wondering if anyone could help me with it the code I put is:






Big title



  1. This item is big Arial.

  2. This item is medium Verdana.

  3. This item is small Impact.




and it says at the bottom:
Oops, try again. It looks like your second
  • 's font-size is 16px instead of 12px.
    and even if I change the sizes it still says the same thing no matter what.

  • #2
    	<h1 style="font-family: Arial">Big title</h1>
    	 <ol>
    	 <li style="font-family: Arial"; "font-size:16px">This item is big Arial.</li>
    	 <li style="font-family: Verdana"; "font-size:12px">This item is medium Verdana.</li>
    	 	<li style="font-family: Impact"; "font-size:10px">This item is small Impact.</li>

    #3

    You don't put quotes around each one (font, color ect)

     <li style="font-family: Arial; font-size:16px">This item is big Arial.</li>

    The semi colon separates each style, so you put your styling attributes inside the quotes

    Please use this format to paste in your HTML so I can have a look at it


    #4

    you probably need a new teacher....