I want to disable the rest of the checkboxes on a website after a user has ticked two of the given checkboxes.?

<form>
<input type=”checkbox” value=”bike”>Bike<br>
<input type=”checkbox” value=”car”>Car<br>
<input type=”checkbox” value=”lorry”>Lorry<br>
<input type=”checkbox” value=”van”>Van<br>
<input type=”checkbox” value=”boat”>Boat<br>
<input type=”checkbox” value=”ship”>Ship
</form>

can you help me to do this?

✅ Answers

  • Answerer 1

    Better you plan to java script

  • Leave a Comment