Challenge: Override Class Declarations with Inline Styles

my h1 element is already white but it said that i’m still incorrect. " Your h1 element should be white." is what it said.

is there something wrong with my code?

  **Your code so far**

<style>
body {
  background-color: black;
  font-family: monospace;
  color: green;
}
#orange-text {
  color: orange;
}
.pink-text {
  color: pink;
}
.blue-text {
  color: blue;
}
</style>
<h1 id="orange-text" class="pink-text blue-text"><h1 style="color: white;">  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/96.0.4664.110 Safari/537.36

Challenge: Override Class Declarations with Inline Styles

Link to the challenge:

You added an extra <h1> opening tag inside the existing <h1>.

thank you very much!

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