Prioritize One Style Over Another, somethings wrong

Prioritize One Style Over Another, somethings wrong
0

#1

Tell us what’s happening:

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/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

Hey, is this currently a bug, because, I have properly stated the class, and defined it. But, the color isn’t showing up and I am not able to pass the challenge!

Any help on this?

Thanks, Akshath


#2

No, it is not a bug,
you made a mistake.

Check how to define a style and compare it with how you did it.
Hint: You forgot something.


#3

@TrollFlash

To close in the style area


#4

Thanks guys, problem solved :slight_smile: