<style>
body {
background-color: black;
font-family: monospace;
color: green;
}
#orange-text {
color-orange;
}
.pink-text {
color: pink;
}
.blue-text {
color: blue;
}
</style>
<h1 class="pink-text blue-text" id="orange-text">Hello World!</h1>
Confront this with the other Color properties
Hi @Miravaz !
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
This sometimes happens to me. But try to reset your current test, and then give another try and do it again.
Thank you very much. Now I did it
That’s a good idea, but sometimes it really we make a mistake. We gotta deubg, and that’s why we have the reset button. It’s hard to see that @Miravaz got his #orange-text element wrong, it’s suppose to be color: orange;
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.