← Back to portfolio
Sleep Debt Calculator

Overview

JavaScript program calculating weekly sleep debt against an ideal amount.

Business Impact

Turns daily sleep inputs into a clear health-style summary metric.

Skills Demonstrated

  • Functions for repeated calculations
  • Arithmetic aggregation
  • Conditional messaging based on results

Run Locally

Run with Node: `node sleepDebtCalculator.js`.

What I'd Improve Next

  • Collect hours via prompts or a form UI
  • Visualize debt vs surplus
  • Support custom ideal-sleep targets

Notes

Part of the IT Career Switch coursework archive.