script.js
/* Our timer is fancy enough to handle 2 different settings at once this toggle
   function basically just specifies which of our 2 timer settings to use. */
Our timer is fancy enough to handle 2 different settings at once this toggle
function basically just specifies which of our 2 timer settings to use.
Our timer is fancy enough to handle 2 different settings at once this toggle function basically just specifies which of our 2 timer settings to use .
function toggleStatus(event) {
  var checked = event.target.checked;
  statusSpan.textContent = status;
  secondsElapsed = 0;
  setTime();
  renderTime();
}
function toggleStatus ( event ) { var checked = event . target . checked ; statusSpan . textContent = status ; secondsElapsed = 0 ; setTime ( ) ; renderTime ( ) ; }
Our timer is fancy enough to handle 2 different settings at once this toggle
function basically just specifies which of our 2 timer settings to use.
Our timer is fancy enough to handle 2 different settings at once this toggle function basically just specifies which of our 2 timer settings to use .
//   if (checked) { //     status = "Working"; //   } else { //     status = "Resting"; //   }