I changed the color of the header to green but it continues to tell me I haven't changed it to green. What is going on?

<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.>
https://www.codecademy.com/courses/web-beginner-en-y2Yjd/1/3?curriculum_id=50579fb998b470000202dc8b#

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.> It tells me the heading is not green when It is.

```

Replace this line with your code.

Changing the colors!

Big Heading

A giant bear and a little duck were friends.

But the bear got hungry and ate the duck.

<do not remove the three backticks above>

when you have a paragraph (or a heading):

<p>i am a paragraph</p>

you can add the style attribute to the opening tag without creating an additional opening tag in the process:

<p style="">i am a paragraph</p>

this goes for all elements (paragraphs, headings and more)

Here is an update after looking at someone else’s code for the same lesson and it now tells me that the first paragraph is not violet.

<!DOCTYPE html>
<html>
	<head>
		<title>Changing the colors!</title>
	</head>
	<body>
		<h2 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: 10px">But the bear got hungry and ate the duck.</p>
	</body>
</html>

you can look at someone else his code, but do you understand the mistake you made?

As for the new error message, in the line above you have a opening h2 heading tag, and a h1 closing tag, that is no match

yes, i had two opening tags when I only needed one.

I changed the ending tag from h1 to h2 and now my code works. THank you.