Https://www.freecodecamp.org/learn/responsive-web-design/basic-css/prioritize-one-style-over-another

Guys could you please help me why system doesn’t accept my answer to this part. I wrote it correctly I think!

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 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.4 Safari/605.1.15.

Challenge: Prioritize One Style Over Another

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-css/prioritize-one-style-over-another

Maybe try instead:

color: pink;

note the space.

1 Like

I tried but still doesn’t work

Hii. you wrote “pink-test” instead of “pink-text”. it’s just a typo.