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 trial

JavaScript Treehouse Club - MASH MASH - CSS CSS in Dev Tools

Ben Sohl
Ben Sohl
5,670 Points

Inspector won't allow me to change background color, nor does it auto-fill when I start to type "background". Help!

I have followed everything step-by-step, but when I go to change the background color, it doesn't actually show. "Background" does not auto-fill, so I type it in myself. I have

element.style{ background: blue; }

But nothing changes... What am I missing?

2 Answers

Steven Parker
Steven Parker
229,981 Points

Are you sure you're in Chrome Dev Tools, on the "Elements" tab, and the "Styles" sub-tab? Both the property name and the value name should auto-fill, and even as you're selecting the value the results should be immediately displayed.

The use of the word "inspector" makes me wonder if you might be using a different browser. If so, it probably has a similar feature but the way to use it might be slightly different.

Ben Sohl
Ben Sohl
5,670 Points

Hey Steven, thank you for your response. I am in Chrome, right clicking the page and clicking inspect. I am on elements, and styles... I wish I could attach a photo/screen capture to this! Any other ideas?

Steven Parker
Steven Parker
229,981 Points

I'm not sure what else to check. If you don't get any other answers soon here, you might try contacting the Support folks.