Font Size (Lesson 8)


#1

Hi,
i'm having an issue with the font size. I've put 20px but it keeps on saying it looks like 16px.

This is the error message; "Oops, try again. Did you set the second paragraph's font-size to 20px? It looks like it's 16px. (If you're getting a weird decimal font size, check the Hint.)"


<!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 stlye="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>
</html>


#2

You need to check the syntax of your second paragraph. You have spelt the style attribute incorrectly. Always double-check your spelling if you get an error message :slight_smile:


#3

Haha i didnt see that.

Thanks!


#4

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