Font Size Bug in lesson 8


#1


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

I get the error: "Oops, try again.
Did you set the third paragraph's font-size to 40px? It looks like it's 24px."

I am using Firefox on a Mac. I have tried the key commands and I've tried "View/Zoom/Reset

I asked for help in another post but the post was shut down without resolving my issue so I'm trying again.

You can't use IE on a mac and I know Codeacademy can't change the default font size, the problem I am having is that neither can I.


<!DOCTYPE html>
<html>
    <head>
        <title>First font size change</title>
    </head>
    <body>
        <p style="font-size: 10px"> Some text for you to make tiny! </p>
        <p style="font-size: 20px"> Some text for you to make normal size!</p>
        <p font-style="font-size: 40px"> Some text for you to make super big!</p>
    </body>
</html>


#2

in your third paragraph you use font-style as attribute instead of style


#3

Thank you.
That was the problem!


#4

OK, I can't for the life of me see what's wrong with this one.
Same error, it doesn't like the font size in the second para.

<!DOCTYPE html>
<html>
    <head>
        <title>Changing the colors!</title>
    </head>
    <body>
        <h1 style="color: green; font-size: 16px" >Big Heading</h1>
            <p style="color: violet">A giant bear and a little duck were friends.</p>
            <p style="color: red; font-size 10px">But the bear got hungry and ate the duck.</p>
    </body>
</html>

#5

I'm an idiot! :
:blush:


#6