Design comparison
SolutionDesign
Solution retrospective
Had some difficulties with this project, so it took me longer than I expected. I mostly had difficulties with grid layout, but I figured it out. Calculating BMI was easy, though. To calculate BMI I use this equation:
- for metric: BMI = mass (kg)/height^2 (m)
- for imperial: BMI = 703 × mass (lbs)/height^2 (in)
To calculate a healthy weight range, I simply transformed equations:
- for metric: (mass = BMI * height^2 (m)
- for imperial: (mass = BMI/703) * height^2 (in)
Feel free to leave feedback. Happy coding :)
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord