freeCodeCamp Challenge Guide: Override Styles in Subsequent CSS

freeCodeCamp Challenge Guide: Override Styles in Subsequent CSS
0

#1

Your classes will override the body’s CSS, if we add a new class that changes the same property, the last one will be the one applied.


#2

For some reason it’s not working.

body { background-color: black; font-family: Monospace; color: green; } .pink-text { color: pink; } .blue-text { color: blue; }

Hello World!


#3

Yes I did the <h1 class "pink-text “blue-text”


#4

pink-text and blue-text should be inside the same quotation.

h1 class=“pink text blue text”


#5

Thank you so much!!!


#6

Hello Everyone,
The correct is…


#7

.pink-text {
color: pink;
}

.blue-text {
color: blue;
}

Hello World!

never mind I see it now i'm missing my - between blue and text thanks anyways