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


#1

https://www.codecademy.com/courses/web-beginner-en-y2Yjd/1/4?curriculum_id=50579fb998b470000202dc8b

Oops, try again. It looks like your first li's font-size is 16px instead of 16px.


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


#2

There is no need to put your list tags inside of heading tags. Remove them to make your code like this.

<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>

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.