// Made for YogaScript by Douglas Bumby
var count;

count = parseInt(localStorage.getItem("yogapants"))||0;
function increment(n) {
  count += n;
  localStorage.setItem("yogapants", count);
  document.getElementById("yoga-tally").innerHTML = count;
}

// Made for YogaScript by Douglas Bumby
var count;

count = parseInt(localStorage.getItem("yogapants"))||0;
function increment(n) {
  count += n;
  localStorage.setItem("yogapants", count);
  document.getElementById("yoga-tally").innerHTML = count;
}

function reset() {
  count = 0;
  localStorage.setItem("yogapants", count);
  document.getElementById("yoga-tally").innerHTML = count;
}

Update script.js