#10 Font Family

Continuing the discussion from Stuck on HTML Basics II #10 Font family:

I keep receiving the error message about the wrong font size and had a problem earlier but solved it by simply deleting all the work…(Copy/Cutting it out) to pass; which I didn’t like but moved on anyway…Now I’m here again…

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

[ Oops ]=== It looks like your second

  • 's font-size is 16px instead of 12px. ??
  • after font-size there should be a colon, not a equal sign

    for next time, use one of the two following options to make your code/indent is visible:

    select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)

    if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:

    ```
    <p>visible</p>
    ```
    

    the backtick is located above the tab key on your keyboard