<!DOCTYPE html>
		<title>Loving the font changes</title>
	<h1>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>

This is my code. I have kept comments in the both ends to avoid this code converting into webpage content.

I am getting "Oops, try again. It looks like your second

  • 's font-size is 16px instead of 12px.". Can someone please help?

  • #2

    This looks like a syntax problem, 16px is the default font-size. Please post (aka copy paste) your code to the forum


    Chances are you're separating the px from your number. <p style=" font-size: 16px"/> We won't know until you paste your code though.


    after a property (font-size, font-family) there should be a colon, not a equal sign