"Prioritize One Style Over Another" - BUG?

"Prioritize One Style Over Another" - BUG?
0

#1

Tell us what’s happening:
I am not sure of the error in here. I am getting the following error messages persistently -

// running test
Your h1 element should have the class pink-text.
Your should have a pink-text CSS class that changes the color.

Your code so far


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

.pink-test{
  color:pink;
}

</style>



<h1 class="pink-test">Hello World!</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; 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


#2

The challenge expects .pink-text at the style part and also in the html part, but you have .pink-test, the test case expects us to do the exact thing it says


#3

Holy cow…thats downright silly…How could I miss it? :angry:

Thanks Sujith.


#4

It happens, don’t worry :wink: Happy Coding.!