Skip to content

BMI: Improve Input Validation and Error Handling #23

@venisha-kalola

Description

@venisha-kalola

Project slug (e.g., snake, todo)

bmi

Summary

Improve input validation and error handling in the BMI calculator to ensure robust user experience and accurate calculations.

Details / Acceptance criteria

  • Validate all user inputs for the BMI calculator page to prevent missing fields, non-numeric entries, or unrealistic values.
  • Provide clear and actionable error messages when validation fails.
  • Prevent BMI calculation until valid data is entered.
  • Add visual feedback for errors (e.g., highlight invalid fields).
  • Ensure logic and UI are aligned for error handling, improving accessibility and usability.

Scope

  • UI changes
  • Logic changes
  • Accessibility
  • Tests (manual)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions