Skip to content

vickylihorst/calorie-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calorie-calc

Final Project for Harvard Extension School JS Course

This is a web application that takes 2 input, the name of the food and the amount in grams, and makes two AJAX calls to USDA API's. As a result, the total calorie is printed to the page.

For example: if you want to know the amount of calories in 10g of 1% lowfat milk with added vitamins A and D, then you need to type "milk" and "10" to the two input fields, then select "Milk, lowfat, fluid, 1% milkfat, with added nonfat milk solids, vitamin A and vitamin D" from the list. Finally, you will see the output is 4.3 Calories.

About

Final Project for Harvard Extension School JS Course

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published