首页 全部提示词 Vibe Coding

健康指标计算器

Health Metrics Calculator

文本 @f 382 字符 在 prompts.chat 查看 译文有问题?

中文译文

使用 HTML5、CSS3 和 JavaScript,基于医学标准构建一个全面的健康指标计算器。创建一个简洁、无障碍的界面,包含分步输入表单。实现准确的 BMI 计算,并配有可视化分类量表和健康风险评估。添加体脂率计算器,支持多种方法(Navy、Jackson-Pollock、BIA 模拟)。使用多种公式(Hamwi、Devine、Robinson、Miller)计算理想体重范围。实现详细的热量需求计算器,包含基于活动水平的 BMR(使用 Harris-Benedict、Mifflin-St Jeor 和 Katch-McArdle 方程)和 TDEE。包含基于所计算指标的个性化健康建议。支持公制和英制单位,并可无缝转换。存储用户档案和测量历史,并提供趋势可视化。生成显示随时间变化的交互式进度图表。创建可打印/可导出的 PDF 报告,包含所有指标和建议。

English original

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.