developer coding user risk: medium
Comprehensive Health Metrics Web Calculator
Build a comprehensive health metrics calculator using HTML5, CSS3, and JavaScript with step-by-step input forms for BMI, body fat percentage, ideal weight, calorie needs, and healt…
- Policy sensitive
- Human review
PROMPT
Build a comprehensive health metrics calculator with HTML5, CSS3 and JavaScript based on medical standards. Create a clean, accessible interface with step-by-step input forms. Implement accurate BMI calculation with visual classification scale and health risk assessment. Add body fat percentage calculator using multiple methods (Navy, Jackson-Pollock, BIA simulation). Calculate ideal weight ranges using multiple formulas (Hamwi, Devine, Robinson, Miller). Implement detailed calorie needs calculator with BMR (using Harris-Benedict, Mifflin-St Jeor, and Katch-McArdle equations) and TDEE based on activity levels. Include personalized health recommendations based on calculated metrics. Support both metric and imperial units with seamless conversion. Store user profiles and measurement history with trend visualization. Generate interactive progress charts showing changes over time. Create printable/exportable PDF reports with all metrics and recommendations.
EXPECTED OUTPUT
- Format
- html
- Constraints
-
- complete working application
- clean accessible interface
- support metric and imperial units
- include all specified calculations and features
SUCCESS CRITERIA
- Build comprehensive health metrics calculator using HTML5 CSS3 JavaScript
- Create clean accessible step-by-step interface
- Implement accurate BMI calculation with visual scale and risk assessment
- Add body fat percentage calculator with multiple methods
- Calculate ideal weight ranges using multiple formulas
- Implement calorie needs with BMR and TDEE calculations
- Include personalized health recommendations
- Support metric and imperial units with conversion
- Store user profiles and measurement history
- Generate interactive progress charts
- Create printable PDF reports
FAILURE MODES
- Inaccurate implementation of medical formulas
- Incomplete feature set
- Poor accessibility or UI
- Missing unit conversions
- No data storage or persistence
- Non-functional charts or exports
CAVEATS
- Missing context
-
- Exact mathematical formulas for all calculators.
- Data storage mechanism (e.g., localStorage, IndexedDB).
- Charting library (e.g., Chart.js) for trends and visualizations.
- PDF generation library (e.g., jsPDF).
- Accessibility standards (e.g., WCAG level).
- Responsive design requirements for different devices.
- Ambiguities
-
- Does not provide exact formulas or equations for named methods (e.g., Navy body fat, Hamwi ideal weight).
- Unclear what 'BIA simulation' entails.
- Undefined criteria for 'personalized health recommendations' and 'health risk assessment'.
- Activity levels for TDEE not specified.
- 'Visual classification scale' for BMI lacks detail on implementation.
QUALITY
- OVERALL
- 0.70
- CLARITY
- 0.90
- SPECIFICITY
- 0.85
- REUSABILITY
- 0.30
- COMPLETENESS
- 0.75
IMPROVEMENT SUGGESTIONS
- Include a section with exact formulas and equations for all calculations.
- Specify predefined activity levels for TDEE (e.g., sedentary, lightly active).
- Define thresholds and logic for health recommendations and risk assessments.
- Add placeholders for libraries: 'Use Chart.js for charts and jsPDF for reports'.
- Structure as a template with sections for easy modification of features.
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR DEVELOPER
- Context7 Library Documentation Expert developer coding
- Structured Python Production Code Generator developer coding
- Angular Standalone Directive Generator developer coding
- Pytest Unit Test Suite Generator developer coding
- Unity Architecture Specialist developer coding
- Web Typography CSS Generator developer coding
- VSCode CodeTour File Expert developer coding
- Senior Python Code Reviewer developer coding
- Structured Cross-Language Code Translator developer coding
- Multi-DB SQL Query Optimizer and Builder developer coding
- Base R Programming Reference Guide developer coding
- Flutter Map SDK Layer Bug Fixer developer coding
- Expert Mobile App Builder for iOS Android developer coding
- Scalable Backend Architect Expert developer coding
- Comprehensive TypeScript Codebase Reviewer developer coding
- Code Improvement and Refactoring Suggester developer coding
- Vercel SPA Blank Screen Diagnoser developer coding
- CLAUDE.md File Generator for AI Coders developer coding
- App Store Screenshots Gallery Generator developer coding
- Spring Boot SOLID Architect Specialist developer coding
- React SaaS Metrics Dashboard Generator developer coding
- Software Optimization Auditor developer coding
- Senior Frontend Task Checklist Architect developer coding
- POSIX Shell Script Developer with Checklists developer coding
- Astro v6 Strict Architecture Rules developer coding