Frustrated: Attribute Selectors to Style Elements

I have checked the answers in similar questions but somehow my code still doesn’t work. What am I doing wrong?

<input type=“checkbox” { margin: 10px 0px 15px 0px; }
name=“personality” checked> Loving
<input type=“checkbox” { margin: 10px 0px 15px 0px; } name=“personality”> Lazy
<input type=“checkbox” { margin: 10px 0px 15px 0px; } name=“personality”> Energetic

you need to place your attribute selector in your <style> tag. Read the instructions carefully.

1 Like