samstar
1
Tell us what’s happening:
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/70.0.3538.102 Safari/537.36
.
Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/prioritize-one-style-over-another
pdxdave
2
From the code it looks like you don’t have a closing bracket for the color pink.
samstar
3
did closing bracket still do not like it
Your <style>
should have a pink-text
CSS class that changes the color
.
pdxdave
4
Just typed the following in and it worked. Maybe you need to clear your browser cache.
body {
background-color: black;
font-family: monospace;
color: green;
}
h1 {
color: pink;
}
<h1 class="pink-text">Hello World!</h1>
samstar
5
My setup is working fine, problem is that, program do not like it
samstar
6
I get it working, thank you.
1 Like