This is a solution to the Body Mass Index Calculator challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- Select whether they want to use metric or imperial units
- Enter their height and weight
- See their BMI result, with their weight classification and healthy weight range
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- React
- TypeScript
- React Hook Form
- Styled Components
- Github Pages
Writing React functional components, hooks and props with TypeScript.
Registering, watching and validating inputs with React Hook Form.
Publishing a Vite app on Github pages.
- React Hook Form Docs - This helped me with the form data handling.
- Frontend Mentor - @mgalvizo