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 trialEric Swanson
135 Pointsthis isnt working
I wrote: <head> <style> h1 { color: red; } </style> </head>
<body> <h1>Nick Pettit</h1> </body>
And it is not allowing me to progress any further!! wtf
8 Answers
jaredcowan
11,808 PointsDid you put the style tags?
<style>h1 {color: red;} </style>
Eric Swanson
135 PointsI found out the problem. for some weird reason the thing wanted me to put the styleing in the body
hector villasano
12,937 Pointspaste your code.
Darrel Lyons
2,991 PointsMake sure you have the style takes around your CSS.
<style type="text/css">
h1
{
color: red;
}
</style>
Eric Swanson
135 PointsI wrote ""<style type="text/css"> h1 { color: red; } </style>
<body> <h1>Nick Pettit</h1> </body>""
and it didnt work. and my first post when i tried to paste this whole code it only posted like the first line.
Eric Swanson
135 PointsIt just did it again
hector villasano
12,937 PointsEric Swanson where are you writing that code? on index.html ore main.css if in index.html : is this code in between the head element ?
hector villasano
12,937 PointsGot it!