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 trialmairs
1,481 Pointswhy is my colour not changing to blue?
It looks like I followed the instructions on CSS but can't figure out where i have gone wrong?
<style>
<h1> {
color: blue:
}
</style>
<h1>Mary Chati</h1>
mairs
1,481 Pointshi Thanks. I figured out that I put <> on h1. Its worked now.
1 Answer
Steven Parker
231,261 PointsContratulations on resolving your issue!
As you discovered, CSS selectors use only the tag name and not the angle brackets that would surround the tag in the HTML.
Unsubscribed User
Front End Web Development Techdegree Student 33,900 PointsUnsubscribed User
Front End Web Development Techdegree Student 33,900 PointsPut a semicolon after
color: blue;
You put a ":" which probably is the mistake.