I don't know why my code is wrong

Tell us what’s happening:

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 10323.67.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.209 Safari/537.36.

Link to the challenge:

In CSS, recall that a proceeding " . " before the specific style means that the style concerns a class. " # " on the other hand concerns id.

In addition, in your h1 element, it seems you have changed a lot more than you should have.

1 Like