Tell us what’s happening:
Hi there
it says “you should declare a breakfastNumberInputs variable” which I did?
Thanks
Iskren
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
function calculateCalories(e) {
e.preventDefault();
isError = false;
const breakfastNumberInputs=document.querySelectorAll(".breakfast input[type="number"]");
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15
Challenge Information:
Learn Form Validation by Building a Calorie Counter - Step 70