An open API service indexing awesome lists of open source software.

https://github.com/nanthakumar-m/bmi_converter-react

A fast and simple BMI calculator built with React and Vite. It takes weight and height as user input and instantly displays BMI value along with health status.
https://github.com/nanthakumar-m/bmi_converter-react

bmi-calculator jsx react react-components usestate-hook

Last synced: 7 months ago
JSON representation

A fast and simple BMI calculator built with React and Vite. It takes weight and height as user input and instantly displays BMI value along with health status.

Awesome Lists containing this project

README

          

# βš–οΈ BMI Converter – React

This BMI Converter is a React application built using Vite. It allows users to input their weight (in kg) and height (in cm), and instantly calculates their Body Mass Index (BMI). Based on the BMI result, it classifies the user's health status (e.g., Underweight, Normal, Overweight, Obese).

The aim of this project was to practice React fundamentals, including component structure, state management, and event handling. Additionally, it helped in understanding how to manage user input and apply basic formulas for dynamic result rendering in a clean and intuitive UI.

πŸ”—πŸ‘‰ click here to see the live demo--> https://nanthakumar-m.github.io/bmi_converter-react/

🚫 Note: This website is not responsive and is best viewed on desktop screens.

## βš™οΈ Technologies Used

- HTML5
- CSS3
- React
- Vite (Build tool)

## πŸ’‘Core Features

βœ… Accepts weight and height inputs from users

βœ… Calculates and displays BMI instantly

βœ… Shows corresponding BMI category (Underweight, Normal, etc.)

βœ… Uses conditional rendering to display results

βœ… Clean and simple UI for better user experience

## 🎯 What I Gained / Concepts Practiced

βœ… Strengthened my understanding of **React components and JSX**

βœ… Learned how to manage user input with state **(useState)**

βœ… Practiced applying conditional logic for real-time output

βœ… Learned how to configure GitHub Pages deployment for Vite apps

## πŸ“Έ Screenshots

![image](https://github.com/user-attachments/assets/fb8c2661-6ca1-4f49-aa9f-c2166e7b1ba2)

![image](https://github.com/user-attachments/assets/cb79cdff-53bd-4d39-96ab-1c02991c15e0)

![image](https://github.com/user-attachments/assets/93bcd030-e0fd-4b7e-8a86-6abb4acddda6)

![image](https://github.com/user-attachments/assets/af8d2c35-f16d-4031-9983-0db74fe918c8)

![image](https://github.com/user-attachments/assets/878a5c97-3f18-44ea-ae28-b4352ad05c93)