What am I doing wrong? (HTML + CSS font size)


#1

I wrote my code so that one sentence would be 10px, the second would be 20px, and the third would be 40px. However, I am getting this error.

"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.)"

This is my code below.

<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 style="font-size: 40px;">Some text for you to make super big!</p>
</body>


#2

You forgot the - at the first two paragraphs


#3

This is not written in the instructions, sadly.
Thanks for info.


#4

Thank you so much! I was going crazy over this one.


#5

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