0

Are there possible ways to get equations input forms for example BMI-Index

I am a complete beginner so excuse me any missconceptions i might going to have. In my personal time i like to do fitness and inform myself about fitness. diets and workouts. Thus, i wanted to create a website with such a content. I've seen other websites have calculators, where you can input your height, weight, age, sex, waist size...and so on, to get an Index value that tells you your BMI, FFMI or body fat. How can i create an input form for users to use to get a body fat "calculator" or alike? Best regards and Thanks in advance.

26th Apr 2019, 7:41 PM
Victor
Victor - avatar
4 Antworten
+ 1
You can use the standard input html tag in combination with JavaScript. A user can enter his data into the forms and the JavaScript will perform the underlying calculations. It's actually not that difficult.
26th Apr 2019, 7:51 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 1
Btw. I can help you a bit with the JavaScript in case you're not so familiar with it.
26th Apr 2019, 7:53 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 1
👍 It's indeed better to finish the CSS course first. Still you can start to gradually build your website starting with html. As you learn more you can add styling and later the interactivity with JavaScript.
26th Apr 2019, 8:07 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
0
Thank you Aaron Eberhardt. I've only completed the HTML course and just started doing CSS. I've so far no experience with JavaScript. I guess i'll have to wait and do the course after i've finished CSS.
26th Apr 2019, 8:03 PM
Victor
Victor - avatar