The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript To-do-list Site issues Re: To-do-list Site issues


Ah, I see what you’re thinking!

No, the + label simply acts as a sibling selector, so input[type=checkbox] + label will select all inputs that are checkboxes, as well as their immediate sibling labels.

This allows this method to work for most use cases, because it’s not ID or class-based.

For more information on advanced CSS selectors like this, [check out this article]( It’s one of the most detailed I’ve seen.