"Bug" on Lesson 9



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>
    		<title>Loving the font changes</title>
    		<h1 style="font-family: Arial">le big titlE</h1>
    		 	<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>

  • #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.


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


    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!