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 trialJack Clark
168 Pointsi'm try to write a CSS but i keep forgetting!
I've all ready put in the <h1> & <style> i just need help creating the CSS!
<style></style>
<h1>Nick Pettit</h1>
2 Answers
Jonathan Grieve
Treehouse Moderator 91,253 PointsHi Jack,
If you remember for your video CSS needs a certain syntax to affect elements.
selector {
property: value
}
Each style needs 3 things. A selector to choose which element to select and how specific a selection that should be. The CSS property to apply and the value of that property.
In this case it looks like you want to change a property of the heading element.
So you could write this
h1 {
color: green;
}
You'll learn more and more about how to use CSS as you go through the course. Also Guil Hernandez is Treehouse's great CSS teacher so you'll pick it up in no time ;)
Jack Clark
168 Pointsdo you know how to make a CSS?
Jack Clark
168 PointsJack Clark
168 PointsThank You So Much, Your The BEST!