Basic CSS: Prioritize One Style Over Another

I can’t get pass this challenge, everyone seems fine to me. What am I missing here?!?

  body {
    background-color: black;
    font-family: monospace;
    color: green;

    color: pink;
<h1 class:"pink-text">Hello World!</h1>

Re-read the instructions and look carefully at how a class should be assigned to an element.

1 Like

got it fixed now! its suppose to be class= instead of a colon haha

:+1: Good job. Happy coding.

Mine is written well, don’t know what’s wrong

You have nested the .pink-text selector inside the body selector. They should be to separate selectors.

Also, please post code and not screenshots.