The Sleep Debt Calculator is your virtual sleep buddy! This simple JavaScript function evaluates your sleep patterns, helping you understand if you're catching enough Zs or if there's a sleep deficit that needs some attention.
We all know good sleep is essential, and this calculator is here to nudge you in the right direction. By providing insights into your actual and ideal sleep hours, it helps you prioritize your well-being and health.
- Clone the repo:
git clone https://github.com/AdrianBcode/sleep-debt-calculator.git
Navigate to the project:
bash Copy code cd sleep-debt-calculator Open it up in your favorite editor.
Modify your sleep data: Update actualSleepHours and idealSleepHours with your own sleep stats.
See if you're hitting your sleep goals!