Learn Form Validation by Building a Calorie Counter - Step 56

I don’t know why the console said my code has syntax errors from the for loop. It may not fulfill the challenge requirements but surely not about syntax.

function getCaloriesFromInputs(list) {
let calories = 0;
for (let i = 0, i < list.length, i++) {



Please help me

Can you post your code here?

I’ve just figure out my issue, haha. Thanks anw

replace your commas with semi-colon

by the way, seeing this helped me realize the issues in my own code. Thanks