Tell us what’s happening:
Your h1 element should have the class pink-text.
Your should have a pink-text CSS class that changes the color.
Your code so far
<style>
body {
background-color: black;
font-family: monospace;
color: green;}
h1
{ color: pink;
}
}
}
</style>
<h1>Hello World!</h1>
<h1 class: "pink-text";></h1>
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/prioritize-one-style-over-another