1to1
1
I can’t get pass this challenge, everyone seems fine to me. What am I missing here?!?
<style>
body {
background-color: black;
font-family: monospace;
color: green;
}
.pink-text{
color: pink;
}
</style>
<h1 class:"pink-text">Hello World!</h1>
class:"pink-text"
Re-read the instructions and look carefully at how a class should be assigned to an element.
1 Like
1to1
3
got it fixed now! its suppose to be class= instead of a colon haha
Mine is written well, don’t know what’s wrong
You have nested the .pink-text selector inside the body selector. They should be to separate selectors.
Also, please post code and not screenshots.