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

Ben Sohl
Ben Sohl
5,083 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
182,603 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,083 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
182,603 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.