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

CSS Treehouse Club: CSS My First Web Page Text Editors and External Style Sheets

carly graham
carly graham
2,663 Points

I tried to change the front colors when I was editing the CSS. It doesn't seem to be working. What should I do?

I changed a few of the colors to other hexadecimal color codes that I found. In the code, it appeared as though the colors registered, because they show the actual color as I go over them with the cursor. I refreshed a few times but the colors have not changed from the original on the webpage. What am I doing wrong?

Are you changing the colors in the developer console or in your code? If you change the colors in the console and hit refresh, it will automatically revert back to the original document. Also, it will be easier to see what is going on if you paste a snippet of your code.

carly graham
carly graham
2,663 Points

I'm just editing the pre-existing code on workspaces. I'm trying to change the color of the top bar from the original purple to this: /*********************************************** Top bar color ***********************************************/

html { border-top: 20px solid #5F9EA0; }

Here's the link: http://port-80-mym3x1pbu3.treehouse-app.com/

I'm still not entirely sure what you mean or what you're trying to do, but all child elements of the HTML(parent element) will overwrite the default colors in your HTML. Does this make sense?

1 Answer

fork workspace , right corner,middel button. or create it at your own computer by downloding the project and clik te index.html