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

Dennis Castillo
Dennis Castillo
16,018 Points

(sigh) I don't get it.... help with simple code input [type="submit'] ???

Finally, add a new attribute selector that will target the submit button. Set the text color to white and the background color to steelblue.

Bummer! Please check your attribute selector, make sure background-color is set to 'steelblue'.

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

(sigh) I don't get it, can someone identify what's wrong?

Dennis Castillo
Dennis Castillo
16,018 Points

Sorry I figure it out I missed "=" on submit hehehehe.....

2 Answers

Glad you figured it out. :)

Jason Mc Dermott
Jason Mc Dermott
11,496 Points

I too have been racking my brain on this for the last half hour! checked it again and again and noticed I had text-color: white; when our friend above had 'color: white; But I thought text-color: white; was the right way to type it!?