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 trialkhasper bas
312 Points:disabled and :checked
i assigned "disable" to my input and later went to style it in my CSS like this :disabled{background-color:red;}. although the input was disabled but the background-color didn't reflect
QUESTION OR :CHECKED in my CSS file, i used attribute selectors for my styles like this input[type="checkbox"]:checked + label{font-weight:bold;} i did that because i wanted to make the label text bold when its checked but it didn't work
How do i go about the two?
2 Answers
Travis Alstrand
Treehouse TeacherIt would be very helpful if we could see your code in instances like this. You could share a snapshot of your workspace or a link to your github repo if you're working on it locally!
psycholinguist
Front End Web Development Techdegree Student 4,751 PointsDid you assign disabled or disable to your input?
khasper bas
312 Pointsdisabled