Html/css/javascript Calculator

Need a protein calculator similar to the bottom of this website in HTML/CSS/JavaScript:
http://www.cytosport.com

I’m not sure of the exact algorithms being used but here are the proportion ratios respectively for Very Active, Moderately Active and Mildly Active for 100lbs:
100:75 (4:3)
100:60 (5:3)
100:50 (2:1).

Here is an sample of input and output data:

Weight / Exercise Level / Recommended Protein Intake
100 lbs at Very Active = 75 grams
100 lbs at Moderately Active = 60 grams
100 lbs at Mildly Active = 50 grams

200 lbs at Very Active = 150 grams
200 lbs at Moderately Active = 120 grams
200 lbs at Mildly Active = 100 grams

150 lbs at Very Active = 113 grams
150 lbs at Moderately Active = 90 grams
150 lbs at Mildly Active = 75 grams

Please place a bid if you think you can replicate this calculator, thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *