hello all, i'm working on a small project: I have three checkboxes, when the checkboxes are selected, they show
I have functions for each checkbox each of them show 3 list items when selected using a variable to control them var counteroftheitem = 3;
<div id="checkbox1"> <li>one item</li> <li>two item</li> <li>three item</li> </div> <div id="checkbox2"> <li>one item</li> <li>two item</li> <li>three item</li> </div> <div id="checkbox3"> <li>one item</li> <li>two item</li> <li>three item</li> </div> the help I need is to create an if statement that will show more items when checkbox 1+2 are selected or 2+3 are selected or 1+3 and if any are selected by themselves