0
Check box 2 demo
Why this code can not run well? I use Simple method to test if each check box (there are four) is checked, and output corresponding result. We know that checkbox allows us to choose multiple available choices. https://sololearn.com/compiler-playground/W3rHcfmdRn9x/?ref=app
4 odpowiedzi
+ 5
the is no element with the id check3
0
<input type="checkbox" id="check3" value="Television">
<label for="check3">Television</label>
Change it to this
0
Ok. I will test it later.
0
Lisa, check3 actually the duplication of check2. There are 2 id check2 there. I copy code for check3 from element with id="check2".