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 trialrogers
2,949 PointsColor of value in workspace won't show when hovering over the word green. It does show correctly in preview, hmm.
Thanks for the advice in advance! Look forward to feedback for style sheet below.
<style>
h1 { color: green; }
</style> <h1>Surfing is Awesome!</h1>
3 Answers
Jonathan Grieve
Treehouse Moderator 91,253 PointsHi roger,
This is how the preview works. It';ll preview the colour you specify whether it's by it's keyword, rgba of hexadecimal value. :-)
rogers
2,949 PointsHi Jonathan, many thanks for the fast reply, much obliged. Perhaps I formulated my question wrong, as I don't understand your answer.
What I meant to say was, that in the teaching video while creating the css stylesheet in workspace, Nick hovers with his mouse over the word 'blue' and then appears a blue color in a box above the word blue.
This is before showing the coding in a browser. When I hover over the word green in my workspace, this does not happen. thanks again Roger
Jonathan Grieve
Treehouse Moderator 91,253 PointsThat might have been a web graphic as part of the video but not a part of workspaces. The color preview doesn't display the text value, just the colour of the CSS property. :-)
rogers
2,949 PointsAwesome, thank you very much for that! Eager & hungry student :-)