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 trialritu kaur
95 Pointsmy code is working but it shows bummer.
my code is working and it executes properly but still showing bummer!
<style>
h1 {
color: red;
}
</style>
<h1>ritu kaur</h1>
1 Answer
Pedro Cabral
Full Stack JavaScript Techdegree Student 23,916 PointsYour h1 should reside inside the body tag and your style inside the head tag.
Jack Gordon
9,232 PointsI agree with Pedro. The CSS you have written is correct but if it isn't working maybe it is because your text is not in the body tag.
John Tasto
21,587 PointsJohn Tasto
21,587 PointsIt looks good to me, except that when I take that challenge, it wants me to set the color to green. Does it say red for you? If I do red, it fails me too.