Freecodecamp: css override not working

Created on 30 Apr 2017  路  1Comment  路  Source: freeCodeCamp/freeCodeCamp

Challenge Override Styles in Subsequent CSS has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36 Edge/14.14393.
Please describe how to reproduce this issue, and include links to screenshots if possible.

My code:
screenshot 1

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

The color changes only if I change the class, but I'm still not passing the challenge. I did it in chrome, ME and IE 11.
screenshot 2

Most helpful comment

You should have a space between your classes. Not in seperate "".
class="pink-text blue-text"

>All comments

You should have a space between your classes. Not in seperate "".
class="pink-text blue-text"

Was this page helpful?
0 / 5 - 0 ratings