Basic CSS - Override Styles in Subsequent CSS

Hi i added the blue text into the body and also into the h1 it looks exactly like the help in the help video. When i run the test nothing clears i am not sure why. Thanks

  **Your code so far**
<style>
body {
  background-color: black;
  font-family: monospace;
  color: green;
}
.pink-text {
  color: pink;
}
.blue-text {
  color: blue;
}
</style>
<h1 ="pink-text blue-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/105.0.0.0 Safari/537.36 Edg/105.0.1343.42

Challenge: Basic CSS - Override Styles in Subsequent CSS

Link to the challenge:

refer to the instructions again to see this:
Applying multiple class attributes to a HTML element is done with a space between them like this:

class="class1 class2"

Then look at your code. Do you see the problem?

I got it to work i forgot to add class after h1 i was focusing to much on the body section

thanks for the quick reply

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