8 Font Size Oops try again


#1


I don't know what to do , i even tried to copy and paste from the hint but still the same message.I don't know if this will help but for some reason the (=) in my code is blue i don't know what is wrong.

lesson 8 font-size problem


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


Oops, try again.Slow down there, Speed Racer--it looks like your

tags are
nested funny, like this:

or

. Check the Hint if you need help!


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


#2

style is an attribute you can add to opening tag, no need to create an additional opening tag. if you have a paragraph:

<p>i am a paragraph</p>

you can just add the style attribute to the opening tag:

<p style="">i am a paragraph</p>

#3

i did what u said but it didn't make a difference the = is still blue and this time he tells me this
( Oops, try again. Did you set the first paragraph's font-size to 10px? It looks like
it's 16px. (If you're getting a weird decimal font size, check the Hint.)
and here's my code now


#4

You wrote font-size 10px; instead of font-size: 10px;


#5

well you were right :grin: thanks very much :smiley:


#6

it seems i forgot this : but thanks for ur help it's solved :smile:


#7

initialize you had the colon after font-size:

Then you seemed to have removed it. I can't predict mistakes you are going to make. But good the issue is resolved :slight_smile:


#8

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