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 trialLipa Steinberg
227 PointsI have added the curly braces, not sure what the hell is wrong
I can't figure out what's wrong
<style>
h1{
color: blue;
}
</style>
<h1>Lipa Steinberg</h1>
<style>
body{
color: blue;
}
</style>
<body>Lipa </body>
Allison Davis
12,698 PointsWhoops, didn't realize you were working on a challenge with inline styles - should have paid more attention to your style tags.
1 Answer
Dustin Matlock
33,856 PointsHi Lipa, is this challenge the one you're having an issue with?
Your code should look something like:
<body>
<style>
selector {
property: value;
}
</style>
<h1>Nick Pettit</h1>
</body>
Lipa Steinberg
227 PointsThanks guys, the 'real time' group support is incredible!
Allison Davis
12,698 PointsAllison Davis
12,698 PointsHi Lipa, Writing CSS rules using the curly braces needs to take place inside a separate CSS stylesheet that ends in .css and is linked to your index.html file. Good luck!