Prioritize One Style Over Another got stucked!

Prioritize One Style Over Another got stucked!
0

#1

I think there is no mistake on my code but when I submit it says the element should have a class called pink-text but it still there, please help me out.

My code is so far


<style>

  .pink-text {
    color:pink
  }

  body {
    background-color: black;
    font-family: monospace;
    color: green;
  }
</style>

<h1 class= "pink-text">Hello World!</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

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


#2
  1. You missed a semi-colon

  2. You have to place the .pink-text { } below the body { } in the style portion

  3. You should remove the space after the “=” in your h1 tag