How gowtham101008/fitcare works
FitCare is a browser-only fitness and wellness prototype. The principal workflow is entering daily lifestyle metrics, calculating a rule-based score, awarding demo points, and updating the dashboard; users can also simulate redeeming sample rewards. The JavaScript excerpt shows these behaviors in one file, so several domain components share that path. The README documents the page, styling, sample chart, and browser storage; HTML and CSS were not excerpted, so their internal wiring is not shown.
Main entry points: script.js Input submission · index.html Daily tracker form
Components 14
User experience
- FitCare page
index.html - Responsive layout
style.css
Wellness tracking
- Daily tracker form
index.html - Input submission
script.js - Wellness scoring
script.js - Lifestyle suggestions
script.js - Progress dashboard
script.js - Sample weekly chart
index.html - Demo state
script.js - Browser storage
script.js
Points and rewards
- FitPoints awards
script.js - Healthcare reward cards
index.html - Simulated redemption
script.js
Other components
- User
Connections 17
- User → Daily tracker form: enters metrics
README.md - Daily tracker form → Input submission: submits
script.js - Input submission → Wellness scoring: calculates
script.js - Input submission → Demo state: updates
script.js - Input submission → FitPoints awards: awards
script.js - Input submission → Browser storage: saves
script.js - Input submission → Progress dashboard: refreshes
script.js - Progress dashboard → Wellness scoring: displays
script.js - Progress dashboard → Lifestyle suggestions: renders
script.js - Progress dashboard → Demo state: reads
script.js - Progress dashboard → Sample weekly chart: updates today bar
script.js - User → Healthcare reward cards: views
README.md - Healthcare reward cards → Simulated redemption: selects reward
script.js - Simulated redemption → FitPoints awards: deducts
script.js - Simulated redemption → Browser storage: saves
script.js - Simulated redemption → Progress dashboard: refreshes
script.js - Browser storage → Demo state: loads and saves
script.js