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 trialDavid McKenzie
Courses Plus Student 262 PointsAdding a style element
getting error message
"Bummer! Don't forget to add your style tag.
When I preview it seems to work OK, not sure what ive done wrong. The interface doesnt let me proceed till ive got this right, which I would like to do.
Thanks in advance
D
<style>
h1 {
color: orange;
}
</style
<body>
<h1>Nick Pettit</h1>
</body>
4 Answers
mrben
8,068 PointsYour closing style
tag is malformed.
Ryan Hemrick
12,759 PointsHello David,
You seem to have forgotten to close your style tag properly.
You have </style
It should be
</style>
Hope this helps!
Craig Watson
27,930 PointsHi David,
Just looks like you are missing the closing angle bracket on the ending style tag.... Also the code is not wrapped in a "head" tag that I can see?
<html>
<head>
<style>
<!-- Styling goes here -->
</style>
</head>
</html>
Hope this helps!
Craig
David McKenzie
Courses Plus Student 262 PointsThanks guys. tutorial has given me a "correct" Ive tried pasting the code as amended but it shows something different each time a post it.
No worries
Thanks again D