How favournene/simple-bmi-calculator works
A small browser-based BMI calculator: the user enters weight and height, submits them, and sees a BMI value with a weight-category message. The supplied JavaScript shows the calculation and DOM updates; the HTML and styling are present in the tree but were not sampled.
Main entry points: index.html Calculator page · script.js BMI logic
Components 3
Other components
- User
- Calculator page
index.html - BMI logic
script.js
Connections 4
- User → Calculator page: enters measurements
- Calculator page → BMI logic: submits form
- BMI logic → Calculator page: reads inputs
- BMI logic → Calculator page: displays BMI and category