Learn Form Validation by Building a Calorie Counter - Step 56 declare getCaloriesFromInputs

I made a typo and the feedback on my error was misleading, saying I need to declare a variable with the correct name instead of writing a function.

Hello, please post your code and a link to the challenge.

Declare a getCaloriesFromInputs function, and give it a parameter called list .

post your code here.

Welcome to the forum @marctotaro94

Thank you for reporting the typo.

A pull request was made on GitHub to address the bug.

Happy coding