Why is this not working? Am I mad?

Prioritize One Style Over Another
This is driving me nuts, am I missing something here? Please help!


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

.pink-text {
  color: pink;
}

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

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.60 Safari/537.36

Challenge: Prioritize One Style Over Another

Link to the challenge:

I believe there isn’t supposed to be a period before the class=“pink-text”. I think but I’m new at this this will not be the last time you use this. Have a good one.

1 Like

Oh, I love you! lol :sweat_smile: Thanks so much.