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

Basic attribute selector

I am stuck on my last task (3 of 3) on the subject of attribute. "Add a new attribute selector that will target the submit button. Set the text color to 'white' and the background color to 'steelblue'" can't figure out what I am missing, help! My code is-- input [type="submit"] { color: white background-color: steelblue; }

2 Answers

Hi Miranda,

The code you have posted is missing a semi-colon after the word "white", and you also have a space after the word "input". The code should look like the following:

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

Hope this helps :)

Christopher Geary - Remember our goal here on the forum is give help not answers, next time try giving an explanation and/or a hint instead.

Need more explanation on the distinction check this out.

Thank you Christopher!! I posted this question before I went to bed and next day the first thing in the morning, I received the answer, it's magical! :D Thanks!