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 trialGene Irish
68 PointsStyle tags, it works great in workspace but when I do the challenge, I keep getting a message don't forget style
why does this work in workspace but not in the challenge
4 Answers
Wayne Priestley
19,579 PointsHi Gene,
Sorry about that, I thought you were talking about html not your css.
Your code is fine, it should pass.
Are you typing in the code or pasting it? (try doing the opposite)
Try logging out then back in.
Try restarting your browser.
Try using a different browser.
They are all my usual suggestions for this problem.
Hope this helps.
Ben Holland
Courses Plus Student 4,062 PointsIf you post the code you want to try by commenting on this answer .
Wayne Priestley
19,579 PointsHi Gene,
Does your code look something like this?
Where did you add the <style></style>
tags?
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
Gene Irish
68 Points<style>
h1 { color: blue; }
</style> <h1>Gene Irish</h1>
Simon Truong
2,179 PointsHi Gene,
Is you CSS in a different stylesheet or is it embedded in the html page ?
Peace,
Nam