If checkbox is checked this class?
I need to know how to change a class of a checkbox if it is checked.
The above is the start of what I'm doing. Each one has sub categories and they have things under them too. If any one is checked, I need the class to change.
If a category is checked, it switches to the .done class. If a subcategory incide is checked, it'll switch to ornage, if all the sub categories are checked, it'll change to green. The same with the steps inside of the sub-categories of which have not been added yet.