Basic CSS: Prioritize One Style Over Another

Basic CSS: Prioritize One Style Over Another
0

#1

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

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

  .pink-text{
    color: pink;
  }
</style>
<h1 class:"pink-text">Hello World!</h1>

#2
 class:"pink-text"

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


#3

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


#4

:+1: Good job. Happy coding.