Need help exercise 10 font-family


#1

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


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

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


#3

What is the error message you receive?


#4

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:


#5

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


#6

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


#8

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


#9

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


#10

Same erro from OP... but here we go.

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

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

  • to the font Verdana?

  • #11

    You misspelled family in your second list item, and i would write Verdana with uppercase first letter


    #12

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


    #13

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

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


    #14

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