Problem with 9

	<h1 style="color:green; font-size: 16px">Big Heading</h1>
		<p style="color:violet">A giant bear and a little duck were friends.</p>
		<p style="color:red;font-size: 10xp">But the bear got hungry and ate the duck.</p>
Can you tell me what i did wrong ? I am sorry, i didn't see that i posted it wrong. Thanks in advance !

What does the error message say?

Your font-size in your last paragraph seems to be 10xp (experience?), it should be 10px (pixels)

Yeah, you are right ! I don’t know i didn’t see it. Everything is fine.
Thanks a lot ! :smile:

Yes thats where its wrong but just try it just copy and past into codecademy editor and its still works but shows the error im pretty sure if it was normal browser the whole code will not work.

What is the error? Can i see your code?

@webplayer69204, issue resolved? Good to hear

yeah ! :slight_smile: So i can go and learn HTML again :wink:
So thanks you again !

I am on step 9 and can’t figure out what I did wrong. Please help!

You misspelled style in both your paragraphs

HA! Thank you! I can’t believe I didn’t see that! Looked over it a million times. Thanks again. Anyone know where I’m going wrong?

The link will take everyone to there own exercise, it will check for username, please post your code (copy and paste your code to the forum)

<!DOCTYPE html>
		<title>Changing the colors!</title>
		<h1 style="color:green; font-size:16px">Big heading</h> 
			<p style="color:violet" >A giant bear and a little duck were friends. </p> 
			<p style="color:red;font-size:10px">But the bear got hungry and ate the duck. </p>

Take a look at your h1 closing tag, it is missing something.

for next time, use one of the two following options to make your code/indent is visible:

select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:


the backtick is located above the tab key on your keyboard

1 Like