I'm looking to change the background colour of the label #cont when the checkbox below is checked.
Is there any way to do this with javascript?
<label id="cont">
  <span>
    <input type="checkbox">
  </span>
</label>I'm looking to change the background colour of the label #cont when the checkbox below is checked.
Is there any way to do this with javascript?
<label id="cont">
  <span>
    <input type="checkbox">
  </span>
</label>