To check whether a checkbox is ticked we do this:
let isChecked = event.target.checked
What about a multiple select options like this below?
<select name="books[]" multiple>
<option value="A">A</option>
<option value="B">B</option>
<option value="C">C</option>
</select>
How can we check if A is selected or when A is unselected when you select B?