"Bug" on Lesson 9


#1


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


So in HTML Basics II Lesson 9, my code seems to be not working, the error that keeps showing up was "Oops, try again. It looks like your second

  • 's font-size is 16px instead of 12px." But... it is? Is there something that I might had missed?


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


  • #2

    When you set a font-size, you must use a colon to assign the size, rather than an equal sign. Like so:

    font-size: 12px;

    Fix this on all three <li> tags.


    #3

    Thank you, I'm just a beginner so yeah....


    #4

    You're welcome :slight_smile: We were all beginners at one time. You'll get better, just pursue it and don't give up! And have fun!