Prioritizing pink over green

Tell us what’s happening:

I did everything this challenge asked, but it won’t take me forward to the next challenge. Please explain what I’m doing wrong.

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/prioritize-one-style-over-another

<h1 class="pink-text">Hello world</h1>

Thanks, I’ll try to avoid these stupid mistakes next time.

you are welcome :smile:

1 Like