Font size

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>

```

I can’t get this to work… Do someone have any advices, thank you guys very much!

<do not remove the three backticks above>
<!DOCTYPE html>
<html>
	<head>
		<title>First font size change</title>
	</head>
	<body>
		<p style =" font-size : 1 0 p x "> 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>

This is the code I wrote and above is the picture of the error.It keeps saying the font-size is 16 but I wrote 10.

10px is one value, it can’t have any spaces in it

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

I changed into this but the error changed to saying its 12px…

your browser seems to have a minimum font-size setting, do a google search:
disable minimum font-size chrome

or use a different browser

Thanks! It saved me!

I think you should avoid making such challenges that may cause learners encountering irrelevant difficulties. Put a description about this problem at least. I believe Chrome is a very commonly used browser.

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