Font Size and Text



I am having the error message: Oops, try again. It looks like your second

  • ’s font-size is 16px instead of 12px come up on my code.

    Big title

    1. This item is big Arial.

    2. This item is medium Verdana.

    3. This item is small Impact.

  • #2

    Your code is not visible. Click here to go to my guide on how to make it visible. Once you have done that, leave your code as a reply to me or mention @jibblyj so I get a notification. Thanks.

    <!DOCTYPE html>
    		<title>Loving the font changes</title>
    		<h1 style="font-family: Arial">Big title</h1>
    		 	<li style="font size: 16px; font-family: Arial">This item is big Arial.</li>
    		 	<li style="font size: 12px; font-family: Verdana">This item is medium Verdana.</li>
    		 	<li style="font size: 10px; font-family: Impact">This item is small Impact.</li>


    OK, the problem is that font size should be font-size - notice the hyphen (-) between 'font' and 'size'. Changing this should fix it, Good luck!


    Thank you! This worked!