Prioritize One Style Over Another/Ayah

Tell us what’s happening:
Someone explain what should happen in this case which color should be … and if there is a problem with my code
Thank you :grinning:

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:

Link to the challenge:
https://www.freecodecamp.org/challenges/prioritize-one-style-over-another

The extra code you add should turn the h1 element pink.

1 Like

Color: pink;

Capital C is the problem^^
Not for CSS itself, i think just for the challenge check ^^

1 Like

you are just missing 1 “>” on your html tag

1 Like