Prioritize One Style Over Another!

Text is not displaying as pink

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/prioritize-one-style-over-another

Move these three lines out of the body style descriptor and put them on their own.
Make sure you close all open braces.

hope this helps

.pink-text {
color:pink;
}

Hello World!