Prioritize One Style Over Another plesae advise

Prioritize One Style Over Another plesae advise
0

#1

Tell us what’s happening:

ok tryed everthing reset the script not sure why not excepting
please advise what to do or am i not seeing something
thanks for any help

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 6.3; 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

You didn’t prepend the dot to your class name.

When an element is styled
Ex: <h2 class="h2class"></h2>

h2 { 
color: red;
}
.h2class { 
color: blue; 
}

h2 element will be blue color, because second time when the color is changed it will be over written, bottom class has the first priority


#3

hi Sujith3021,
thanks i missed that appicate the help