Change the font size of the first listed item (<li>) to 16px and the font to Arial


#1

from the examples I've read my code looks ok but I cant get the interpreter to move past your li is 16x please make it 16px.

any ideas? thanks

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

#2

Why do you have your li wrapped in h1 tag ?

remove the h1 atgs


#3

the style attribute is an attribute you can add to many opening tags, before your ordered list it is at a h1 tag, but inside the list you can just add the style attribute to the li opening tag


#4

These are all interesting answers but I don't think that they explain the error message. I am running into the same issue.


#5

<li style="font-size:16px; font-family: Arial"> Style your <li> not your <h1> tags


#6

make sense, these explanations are specific for the learners case. You can create a new topic with your code + error message so we can write a solution for your problem


#7

Thank you stetim94 and toddl for your insight and assistance.


#8