Skip to content

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

@lottabliss

Description

@lottabliss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions