Error bug HTML&CSS 3.10 font family


#1


The link:


I have the font-sizes correctly, but it is giving me this:

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

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


#2

When I redid it, it got solved, so nevermind


#3

don't you want to know why this code didn't work? you have a unwanted , after 12px


#4

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