My code in html isnt working


#1

hi my html code for html basics 2 10 font family it says this "Oops, try again. It looks like your third

  • 's font-size is 16px instead of 10px" and my code is"

    >


  • #2

    Can you please place your code?


    #3

    ok i will do that
    but how


    #4

    Copy-Paste your code on the reply box, then select it, and press Ctrl + Shift + C. Then send.


    #5

  • This item is small Impact. IT COMES UP WITH THIS

  • #6

    Hmm, well. I'll explain it.

    Set your li's font-size to 10px;

    <li style="font-size: 10px;">This item is small Impact.</li>

    Then, change the font-family to Impact. Remember, capitalization matters.

    <li style="font-size: 10px; font-family: Impact;">This item is small Impact</li>

    If error persists, change browser.


    #7

  • This item is small Impact.
  • it still dosn't work
    :cry:

    #8

    I meant to put it on the exercise, not here.


    #9

    thanks you for your help


    #10

    Hi, I'm just adding to this. My code is also not working

    HTML II Background color







    Favorite Football Teams



    1. The Hawthorn Football Club

    2. San Franscisco 49ers

    3. Barcelona FC




    #11

    I canĀ“t see your code, neither the exercise you are working on.


    #12






    Favorite Football Teams



    1. The Hawthorn Football Club

    2. San Franscisco 49ers

    3. Barcelona FC




    #13

    As I just said, there is no code, I only see the result. Format it so I can see the code only, not the result.


    #14
    <head>
    	<title>Sexy background color!</title>
    </head>
    <body p style="background-color: brown;">
    	<h3>Favorite Football Teams</h3>
    		<ol p style="color: yellow;">
    			<li>The Hawthorn Football Club</li>	
    			<li>San Franscisco 49ers</li>
    			<li>Barcelona FC</li>
    		</ol>			
    </body>


    #15

    body p is incorrect. It's only body.

    First, ol p is incorrect, it should only be ol.

    And, it's telling your to change the background-color to yellow, not the text color.