Override Class Declarations with Inline Styles I dont understand this one

Override Class Declarations with Inline Styles I dont understand this one
0.0 0

#1

Can someone help me figure out what I am doing wrong?

Your code so far

<style>
  body {
    background-color: black;
    font-family: Monospace;
    color: green;
  }
  #orange-text {
    color: orange;
  }
  .pink-text {
    color: pink;
  }
  .blue-text {
    color: blue;
  }
  color: white;
  
  
</style>
<h1 style="color-white" id="orange-text" class="pink-text blue-text">Hello World!</h1>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36.

Link to the challenge:


#2

Hey ya, how is going?

Well, first of all, you cannot use an attribute without tag/class/id/selectors, like

 .blue-text {
    color: blue;
  }

The exercise want you to learn about Inline Style! Inline Style is when you put the style inside the HTML, such as:

<h1 id="orange-text" class="pink-text blue-text" style="color: white">Hello World!</h1>

Here I put style=“color: white”, this will override the classes.


#3

Sorry I didn’t get back to you till now. I still cant get this code to work.


#4

Didnt worked with

  <h1 id="orange-text" class="pink-text blue-text" style="color: white">Hello World!</h1>

???

EDIT: Your code was wrong on style=“color-white” … You had to use color:white