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++) {