I did everything the right way and it won't work<style> body { background-color: black; font-family: monospace; color: green; } </style> <h1 cla

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;
}
</style>
<h1 class="pink-text">Hello World!</h1>
<style>
class
  .pink-text{
 color:pink;
}
  **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.71 Safari/537.36

Challenge: Prioritize One Style Over Another

Link to the challenge:

You started another style tag, which you don’t need, and you didn’t close it.
You can put your selector in the existing style element.

You have the word “class” where it’s not needed. Revisit this lesson as a help using a class to style

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