I'm trying to get the values of an input of type checkbox with the same ID, and try to get the click (the checked), to the one with the value 1

but when I do the console.log I only get the value of the first input and it does not get both values.

i.e. to bring me the value number 2 of the first one and not 2 and 1.

```
                            <script>
                                var s = document.getElementById("switchA").value;
                                console.log(s);
                            </script>

```

These inputs are of checkbox type so if one of them has value two it should be unchecked.

```
<input type="checkbox" name="asd" id="switchA" value="2">

<input type="checkbox" name="asdf" id="switchA" value="1">

```