My text is not changing color. but everything is correct

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

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

  #orange-text {
    color: orange;
  }
}
</style>
<h1 class="pink-text blue-text" id="orange-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/97.0.4692.99 Safari/537.36

Challenge: Override Class Declarations by Styling ID Attributes

Link to the challenge:

nvr. I figured it out. it was missing a } bracket. Oops

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.