Font problem


#1

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

It looks like your second

  • 's font-size is 16px instead of 12px.


    Replace this line with your 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 size:16px; font-family: Arial"This item is big Arial.</li>
    		 	<li styel="font-size:12px; font-family: Verdana"This item is medium Verdana.</li>
    		 	<li style="font-size: 10px; font-family:Impact"This item is small Impact.</li>
    		 </ol>
    	</body>
    </html>


  • #2

    Hi blogpro49202, you did not write very well the style you wrote "styele" and also close the tag ">".
    The right code should be:

    <!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-family: Verdana">This item is medium Verdana.</li>
    		 	<li style="font-size: 10px; font-family:Impact">This item is small Impact.</li>
    		 </ol>
    	</body>
    </html>

    #3

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