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


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>
		<title>First font size change</title>
		<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>


Hello @coursepro62986,

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

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


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

That should fix it up...


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


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:!


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