Font size


#1


<img src="//codecademy-discourse.s3.amazonaws.com/original/5X/b/f/c/d/bfcde6ec589e71e8d217d10376db1299d02a94d2.PNG" width="664" height="500"> 
I can't get this to work...... Do someone have any advices, thank you guys very much!


#2

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


#3

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


#4

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


#5

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

or use a different browser


#6

Thanks! It saved me!


#7

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.


#8

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