Tell us what’s happening:
Describe your issue in detail here.
wrote the code correctly but the Hello world color is not turning to 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
.
Challenge: Prioritize One Style Over Another
Link to the challenge:
Hi @erinedwardgrg !
Welcome to the forum!
There are a few syntax issues so it would be best to reset the lesson.
First off, this is correct
But there are two issues here
NO.1:
You are not supposed to nest the pink-text class inside the body like this
NO.2
This is a syntax error
The proper syntax is this
When you fix those errors then the test will pass.
Hope that makes sense!
1 Like
Why do you keep repeating solutions that were already given?
system
Closed
5
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.