YOUHelp me build a little page to track my weekly runs, just distance and time, saved on my machine.
assistantHere's a starting point. Save it as runs.html and open it; everything stays on your device.
// runs.html: local, no account, no cloud
const runs = JSON.parse(localStorage.getItem('runs') || '[]');
function add(km, mins) {
runs.push({ km, mins, on: new Date().toISOString() });
localStorage.setItem('runs', JSON.stringify(runs));
render();
}
const totalKm = runs.reduce((s, r) => s + r.km, 0);
assistantWant a weekly chart and a pace column next? I can add them.