A simple and interactive Daily Water Intake Tracker built with HTML, CSS, and JavaScript. This web app allows users to track their daily water intake, visualize progress with a progress bar, and reset the intake as needed.
- Input daily water intake in milliliters (ml)
- View total intake for the day
- Visual progress bar showing percentage of daily goal
- Reset button to clear daily intake
- Minimalistic and easy-to-use design
DailyWaterTracker/
│
├── index.html # Main HTML page
├── style.css # CSS for styling
├── script.js # JavaScript for functionality
└── README.md # Project description
- Clone or download the project folder.
- Open the folder.
- Open
index.htmlin any modern web browser. - (Optional) Run a local server:
Then open
python -m http.server 8000
http://localhost:8000in your browser.
- Enter the amount of water you drank in the input field (in ml).
- Click Add to update your total intake.
- Track your progress using the progress bar.
- Click Reset to clear the daily intake and start fresh.
- HTML5
- CSS3
- JavaScript (ES6)
- Store daily intake in localStorage to remember progress after refreshing.
- Add weekly/monthly tracking charts.
- Allow users to set custom daily goals.