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!

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 trial

HTML How to Make a Website Beginning HTML and CSS Write a CSS Selector and Property

Style 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
Wayne Priestley
19,579 Points

Hi 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
Ben Holland
Courses Plus Student 4,062 Points

If you post the code you want to try by commenting on this answer .

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Gene,

Does your code look something like this?

Where did you add the <style></style> tags?

<!DOCTYPE html>
<title>Title of the document</title>

The content of the document......



h1 { color: blue; }

</style> <h1>Gene Irish</h1>

Hi Gene,

Is you CSS in a different stylesheet or is it embedded in the html page ?