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 trialshawn khah
15,082 Pointsi don't know what's wrong?!!!!!!
Finally, write a new attribute selector that targets input elements with a type attribute value of submit. Then, set the background color to #52bab3. Bummer! Make sure you're setting the background color to '#52bab3'. Preview Get Help Recheck work style.css
1
img[title="avatar"] {
2
border-radius: 50%;
3
}
4
ā
5
input[type='password'] {
6
color: #ccc ;
7
}
8
ā
9
input[type='submit'] {
10
background-color: '#52bab3';
11
}
3 Answers
Steve Hunter
57,712 PointsHi Shawn,
My code looks like:
img[title="avatar"] {
border-radius: 50%;
}
input[type="password"] {
color: #ccc;
}
input[type="submit"] {
background-color: #52bab3;
}
You have single quotes round your hex colour - that might be it?
Steve.
Roberto Da Silva
4,213 Pointshi steve, I have just copy/paste the code from shawn which was exactly the same and guess what ?! passed the test lol !
many thanks for your prompt response =)
Steve Hunter
57,712 PointsGlad you got it fixed.
Vincent Phatsima
11,889 Pointsinput[type="submit"] { background-color: #52bab3; }
shawn khah
15,082 Pointsshawn khah
15,082 Pointsthank you steve:)
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsNo problem! :-)
Roberto Da Silva
4,213 PointsRoberto Da Silva
4,213 PointsI'm having the same issue, no matter what I do it will still say the code is wrong ?!?!? =/
Steve Hunter
57,712 PointsSteve Hunter
57,712 PointsCan you post your code, Roberto?
Steve.
chello yana
8,924 Pointschello yana
8,924 Pointswhy can't there be space between '=' and near keywords? my code was same yours but there was only space so it didn't work.