Override Class Declarations with Inline Styles problem

Override Class Declarations with Inline Styles problem
0

#1

Tell us what’s happening:

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;
  }
</style>
<p>
<h1 id="orange-text">
  <h1 class="pink-text blue-text"><h1 class="white-text">Hello World!</h1>

    </p>
 
  
  I am quite confused now, I don't actually know what I am doing wrong. Please assist people

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 OPR/43.0.2442.991.

Link to the challenge:


#2

The challenge wants you to add an inline style to the <h1> element. To add an inline style, you add the style attribute to the element.

For example, if I wanted to add an inline style to a <p> to set its font size to 20px, I’d do

<p style="font-size:20px">Hello</p>

Note that the syntax for the style value follows CSS syntax.

Try resetting your code and try again.


#3

Thanks, I managed to figure it out