Stuck on "Use Attribute Selectors to Style Elements"


I’ve typed:

[type= “checkbox”] {
margin: 10px 0px 15px 0px;

into my style tags but when I run the tests to move on, I get this error: “The type attribute selector should be used to select the checkboxes.”
The checkboxes are showing increased margins. I don’t know what I’m supposed to do to get the test to complete successfully.

worked fine, whether single or double quotes, whether input[type='checkbox'] or [type="checkbox"]. I can’t replicate your error.


Thanks. Don’t know what was going on. But I did most of the others. Only got stuck on one other, mainly because I don’t understand what I’m to do and then re-did this. Deleted then re-wrote at the top of the style section and it worked fine. Weird.
Thanks anyway.

Hey this is happening to me right now

Are you coding on your phone or tablet? You may need to turn smart quotes off. The stylized left- and right-quotes aren’t the same as "...".