Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please give us a simple html/javascript page to call up food, calories with api. #130

Open
lottabliss opened this issue Sep 11, 2024 · 0 comments

Comments

@lottabliss
Copy link

I'm using html, javascript, and my api key on my website. My html page has a drop down to select foods- (I was successful at calling each foods from your api with that). however I'm supposed to get the calories to pop up when I select that. and I keep getting this error: CONSOLE [ is not a valid ](connectionapi.html:134 Error fetching food data: Energy nutrient not found. Available nutrients might be different.) - So what are you calling your calories? I tried kcal, calorie and calories so far nothing is popping up. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant