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


#1

I get this error. I checked the sintaxis and could't find what's wrong.

Here is my code:







Big title



  1. This item is big Arial.

  2. This item is medium Verdana.

  3. This item is small Impact.




#2

Sorry Idon't know because the code didn't appear the first time.

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

#3

after font-size there should be a colon, not a equal sign, just like you have a colon after font-family.

next time, use one of the following instructions to make your code visible

select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:

```
<p>visible</p>
```

the backtick is located above the tab key on your keyboard


#4

Thanks a lot, it worked.


#5

i have colons and it still doesn't work


#6

Well, maybe you have a completely different problem, but the only way we can determine this, is if you provide us with the code + error message


#7

I'm having the same problem as bakin1637. I have the colons, but it won't work. Here's my code and the error message:


#8

remove the headings (h1) from your lists, and add the style attribute to the list opening tags


#9

Ah ha! It worked! Thank you!


#12

2 posts were split to a new topic: 10. font-size


#14