Use attribute titles to style elements

Use attribute titles to style elements


I need help with this css prompt. I researched and did the code just like how the computer asked and how other people answered. I tried:

[type=‘checkbox’] {
margin: 10px 0px 15px 0px;

[type=‘checkboxes’] {
margin: 10px 0px 15px 0px;


Hey there,

input[type=checkbox] { … }

shoud work.

Hope it helps,


thank you. I agree that it should work but its not. Do you think there is an error with the website or something?


Just to be sure we’re on the same page, mine has no quotes around checkbox and your code has. Have you tried getting rid of them?


Yea i got rid of them (the quotes) and it didn’t work and then I added them back in there and it did work. I don’t know what is going on with the system but it has happened to me before when i got it right but it marked me wrong. Thank you for all your help I really appreciate it!


Maybe there’s a lag or something. Hope it doesn’t happen again.

Best of luck,