Create PinkText Class

Tell us what’s happening:
I did everything right and it’s still saying im wrong

  **Your code so far**

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

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15.

Challenge: Prioritize One Style Over Another

Link to the challenge:

You are missing a hyphen - in between the class name in the h1 element. Check & try again

Hello @GoodNGo, it seems you forget to use a hyphen ( - ) in the class with the h1 element. That is why it won’t pass.

It worked. Thanks I didnt even notice

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