bmi-calculator

Solution retrospective
I am most proud of implementing javascript code that shows the correct unit display, and uses the user inputs to calculate the user's BMI. I'm also proud of being able to implement code to display the user's ideal body weight based on healthy BMI values.
What challenges did you encounter, and how did you overcome them?The biggest challenge I encountered was figuring out how to obtain the user's input, and when trying to add feet and inches, because the value that was stored was not a number, so adding resulted in concatenation rather than adding. I overcame these problems by using .val() to obtain the user's input value, and parseFloat() to convert the input from an object to a number.
What specific areas of your project would you like help with?I didn't implement the correct background for the Hero in this project. I didn't want to spend the extra time on it, and mainly focused on getting the right layouts and getting the right code for javascript, so that the user's BMI and ideal weight would be calculated and displayed.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Joel Eguiza's solution.
Join 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