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

CSS CSS Foundations Selectors Basic Attribute Selectors

Stuck on 3/3...any idea's?

Question:

"Add a new attribute selector that will target the submit button. Set the text color to 'white' and the background color to 'steelblue'"This seems to be correct but keep getting the error on 'white'?

My code:

input[type="submit"] { color: white; background-color: steelblue; }

4 Answers

Chase Lee
Chase Lee
29,275 Points

As far as I can tell it's correct. Try refreshing the page or trying again later.

Was getting an error on 'white' but I refreshed the page and it worked. Thanks!

Dave McFarland
STAFF
Dave McFarland
Treehouse Teacher

That looks right -- I just took the quiz and copied and pasted your code and it worked. What is the error message you're getting?

Hi Joe,

Code looks OK. Try refreshing the browser.

Jeff