Need help exercise 10 font-family

I’m getting the same error message and I cant see why. Here is my code:

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

thanks for any help.indent preformatted text by 4 spaces

Is your browser zoom 100%? Please press Cmd/Ctrl+0 to do so and try again. Your code works for me - assuming this exercise.

What is the error message you receive?

Error message: Oops, try again. It looks like your second <li>’s font-size is 16px instead of 12px

OP was posting in the previous topic. The previous topic’s title was where I found the error message :slightly_smiling:

I have found that people create a reply in a existing topic even if they have a different error message, that is why i asked for the error message.

@mattkulma, seems i missed something. The property you need is font-size, not just size

1 Like

Oh! I will be on a watch out for such types of users now as well! :slightly_smiling:

same error here. Maybe is the browser i’m using? I’m using chrome, and you guys?

Please post code + error message, otherwise we can’t help

Same erro from OP… but here we go.

`

Loving the font changes

Big title

  1. This item is big Arial.
  2. This item is medium Verdana.
  3. This item is small Impact.
`

Error message: Oops, try again. Did you remember to change the second

  • to the font Verdana?
  • You misspelled family in your second list item, and i would write Verdana with uppercase first letter

    Capital V for Verdana, you seem to have given the other capitals but left Verdana out.

    %#¨*(¨%&¨@%#@!

    You’re right.
    I think ill take a break now; Continue this at night;
    Tnks dude! I was going crazy here.

    @benjnev, we both replied about roughly the same time, but you missed the typo in family in the second list item

    3 Likes