Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

David Buckingham
855 Pointsindex.html page. im on once upon atime and im trying to get the next code in which is h1 {text-align:right;color:red}
cant seem to get this code to work on my last page
is it <h1> {text-align:right;color:red} or
h1 {text -align:rightcolor:red}
as you can tell im new to this
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Once Upon a Time</title>
<style>
h1 {text-align:left; color:green}
</style>
</head>
<body></body>
<body><h1>once upon a time</h1></body>
</html>
2 Answers

Rabin Gharti Magar
Front End Web Development Techdegree Graduate 20,466 PointsHey David Buckingham,
You should always end with a semi-colon
after declaring property
.
<style>
h1 {
text-align:right;
color:red;
}
</style>
Check out this link for more information about CSS Vocabulary
: http://apps.workflower.fi/vocabs/css/en#property
Hope this helps!

David Buckingham
855 Pointsthankyou so much