8. Font Size Error


#1

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


I have an error, but I think my code is correct, I have double checked and even rewritten the code but it seems there is still an error.

Here is the error message :

Oops, try again. Slow down there, Speed Racer--it looks like your

tags are nested funny, like this:

or

. Check the Hint if you need help!


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


#2

Why extra tags?
remove the first tag and leave the rest as it is like so:

<p style="font-size: 20px;">Some text for you to make normal size! </p>

#3

Thanks it worked. :slight_smile:

I did write extra tags because thats exactly what was in the hint section :

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

#4


#5

:grin: I have to focus more, Sorry

Thanks again


#6

The code should be written like this

some text for you to make tiny!


but you have written like this

some text for you to make tiny!


#7

Hi

I wrote the code like this and it still not working


#8

Do u still having problems? paste in your code so i'll be able to help you better


#11

sorry how do you paste in your code, because i am doing it and it is coming wrong.

thatnkl you


#12

Enter your code:

Select the code:

and press


#13

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

`


#14

thank you

that is my code


#15

You typed front insted of font


#16

omg true

thank you so much. my fault


#17

thank you. you saved me. it worked


#18

Pay more attention next time buddy!
Take care! :wink:


#20