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 Selectors Selectors - Beyond the Basics Attribute Selectors Challenge

Priya Narine
Priya Narine
1,174 Points

This is strange. Task 3 is somehow not passing. I know it's correct. input [type:"submit"]{background-color: #52bab3;}

This is strange. Task 3 is somehow not passing. I know it's correct. Is there something I'm missing?

input [type:"submit"]{background-color: #52bab3;}

2 Answers

jason chan
jason chan
31,009 Points
/* Complete the challenge by writing CSS below */
img[title="avatar"]{
  border-radius:50%;
}
input[type="password"]{
color: #ccc;
}
input[type="submit"]{
background-color: #52bab3;
}

I passed it. becareful of typos.

Priya Narine
Priya Narine
1,174 Points

Thank you, Jason. I figured my mistake. I knew it was something very silly on my part which was the equal sign for the type attribute.