Prioritize One Style Over Another problem

Prioritize One Style Over Another problem
0

#1

Tell us what’s happening:

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:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/604.4.7 (KHTML, like Gecko) Version/11.0.2 Safari/604.4.7.

Link to the challenge:


#2

You have two issues with your code.

  1. You attempted to next .pink-text inside the body selector definition.

  2. When you define a CSS class it does not involve an equal sign ( = ). You must wrap it in curly brackets {…}.