Prioritize One Style Over Another issue

Tell us what’s happening:
Describe your issue in detail here.

Hi! I can’t seem to make this work even though it seems I got it right. Can anyone please tell me what I did wrong? Thank you

body { background-color: black; font-family: monospace; color: green; } .pink-text{ color: pink; }

Hello World!

  **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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36

Challenge: Prioritize One Style Over Another

Link to the challenge:

Check your syntax here for giving an HTML element an attribute. :slightly_smiling_face:

1 Like