Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialcathie sluski
111 Pointscss color type
Hi, I am taking a challenge and trying to change the color of the type in css. but wont go from blue to green. what am I doing wrong? thanks,cathie
2 Answers
Ricardo Hill-Henry
38,442 PointsThere's not a question that asks you to change the a color from blue to green. In the color question you simply use the color property (not background-color) to set the text color to green.
h1{
color: green;
}
Pretty straightforward. color is used for elements that involve text and you can use a few different methods to change the font's color to green such as hex (ex. #FFF) or rgb, hsl and so on..
Daniel Temiagin
5,741 PointsWhat type are you taking about? Paste your code that will help to determine where the error might be.....
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi cathie,
Post your code so we can see where the mistake might be.