Tell us what’s happening:
The code seems correct to me, but why do I get the same result ----
" h1 element should have the class blue-text"
Both blue-text and pink-text should belong to the same h1 element.
Your h1 element should be blue."
Help
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
.
Challenge: Override Styles in Subsequent CSS
Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/basic-css/override-styles-in-subsequent-css