文本健康指标计算器
文本
健康指标计算器
制作可计算 BMI、体脂、热量需求并追踪历史数据的健康指标工具。
Prompt
使用 HTML5、CSS3 和 JavaScript,依据医学标准构建一款全面的健康指标计算器。创建简洁、易访问的界面,并采用分步输入表单。实现准确的 BMI 计算,配有可视化分类刻度和健康风险评估。使用多种方法(海军公式、Jackson-Pollock、BIA 模拟)添加体脂率计算器。使用多种公式(Hamwi、Devine、Robinson、Miller)计算理想体重范围。添加详细的热量需求计算器,使用 BMR(基于 Harris-Benedict、Mifflin-St Jeor 和 Katch-McArdle 方程)以及根据活动水平计算的 TDEE。根据计算出的指标提供个性化健康建议。支持公制和英制单位,并实现无缝转换。存储用户档案和测量历史,并可视化趋势。生成交互式进度图表,展示随时间的变化。创建可打印或导出的 PDF 报告,包含所有指标和建议。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.
使用建议
可先核对各公式的输入条件,再实现单位切换和趋势图表。