Basic CSS: Prioritize One Style Over Another Sometimes your HTML elements will receive multiple styles that conflict with one ano

Tell us what’s happening:

Not sure if I missed something but won’t let me pass.

Your code so far

body {
  background-color: black;
  font-family: monospace;
  color: green;
.pink-test {
  color: pink;
<h1 class="pink-test">Hello World!</h1>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36.

Challenge: Prioritize One Style Over Another

Link to the challenge:

I’m afraid it’s just a matter of a typo.

- pink-test
+ pink-text

It happens sometimes, and a set of fresh eyes always helps.

Oh no wonder. Thank you!!

1 Like