Override Styles in Subsequent CSS 101

Override Styles in Subsequent CSS 101
0

#1

Tell us what’s happening:
I can’t find out how to get the text to be blue and they are in the same h1 but it says that they aren’t

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" class="blue-text" >Hello World!</h1>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (X11; CrOS x86_64 9901.77.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.97 Safari/537.36.

Link to the challenge:


#2

You can not have two class attributes on the same element (your h1 has this issue). See the 2nd to last paragraph in the challenge instructions on how to apply multiple classes to the same element.


#3

what? i dont understand


#4

nevermind i got it thanks