Not compiling please

Tell us what’s happening:

  **Your code so far**

<style>
body {
  background-color: black;
  font-family: monospace;
  color: green;
}
.pink-text {
  color: pink;
}
.blue-text {
  color: blue;
{
</style>
<h1 class="pink-text blue-tex">Hello World!</h1>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 9; SM-A205F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36.

Challenge: Override Styles in Subsequent CSS

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

its not working I really dont knowwhat I;did;wrong

Not working can mean many things. What is happening?

When I try to use your CSS, I get

Your h1 element should have the class blue-text.
Both blue-text and pink-text should belong to the same h1 element.
Your h1 element should be blue.


Does your h1 element have the class blue-text?


Does that closing brace look funky to you?

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