.pink-text needs help. ( Prioritize One Style Over Another)

Tell us what’s happening:
Can anyone help me?
Why I can’t creat .pink-text which in the style right?


Your code so far

    background-color: black;
    font-family: Monospace;
    color: green;}
  .pink-text{color: pink;}
<h1 class= "pink-text">Hello World!</h1>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 11_2 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/63.0.3239.73 Mobile/15C114 Safari/604.1.

Link to the challenge:

You didn’t closed your “Body” style correctly.

You used a " }" instead of a " } " since HTML doesn’t recognise } as a closing tag, it doesn’t work.

Change this line : color: green;} in to this line : color: green;}
It should work !

Thanks. I reseted the code. Then it worked!