HTML basics II/ font size for mac- chrome& safari


#1


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


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


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


#2

Hello @coursepro62986,

Try removing the spaces between the number and px. So convert

<p style="font-size:10 px">

to

<p style="font-size:10px">

That should fix it up...


#3

Thank you!!!! It did work. I thought I did that and it didn't work but it worked this time.


#4

No worries, @coursepro62986. If you feel my answer solved your problem, then please post it as the Solution, so that others know it is closed. Keep coding hard :laughing:!


#5

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