Did what the lesson and video said

Tell us what’s happening:

I did exactly what the lesson and video said and h1 is not running blue. What am I missing?

Your code so far

<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>      

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.2 Safari/605.1.15.

Challenge: Override Styles in Subsequent CSS

Link to the challenge:

Hi and welcome to the forum!

You have a small typo

.blue-text:
This is what I have in my code. What is the typo?

if i’m not wrong you are supouse to write
.blue-text with out :
should be :
.blue-text { }

1 Like

OH! Thank you guys!!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.