Tell us what’s happening:
The problem asks for me to create a pink-text class and add it to the h1 element.
I’m about 95% certain that I don’t have any mistakes in my code (it’s not as if this is a difficult problem), but it keeps telling me that I haven’t got these:
Your should have a pink-text CSS class that changes the color.
Your h1 element should be pink.
Do you see an error in the code? If it’s correct, how do I move on to the next problem if the checker doesn’t realize it’s right?
Thank you!
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 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
.
Link to the challenge: