I have a DIV Container with inside a DIV with a label with this class labelSection
<DIV class="form-group labelSection">
and a series of other DIVs without the tag labelSection
<DIV class="form-group questionHidden">
I would like to know if I can create a class to add to the DIV with the label (labelSection) that I hide when all the other DIVs in the Container have the questionHidden class
<DIV class="Container">
<DIV class="form-group labelSection">to be hidden when all the others are hidden</DIV>
<DIV class="form-group questionHidden">1</DIV>
<DIV class="form-group questionHidden">2</DIV>
<DIV class="form-group">3</DIV>
<DIV class="form-group questionHidden">4</DIV>
</DIV>
Thanks