Tell us what’s happening:
i dont understand why this code isnt working. im sure that its right.
(Your should have a pink-text CSS class that changes the color.
Your h1 element should be pink.)
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_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/prioritize-one-style-over-another