Learn Form Validation by Building a Calorie Counter - Step 90

Tell us what’s happening:

My code does not pass but I don’t know what I’m doing wrong:

function clearForm() {
const inputContainers = document.querySelectorALL(‘.input-container’);
}

The error message reads:

You should use the “querySelectorAll” method to get all of the elements with the class “input-container”.

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region

function clearForm() {
const inputContainers = document.querySelectorALL('.input-container');
}

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn Form Validation by Building a Calorie Counter - Step 90

HI @marie.cf !

Welcome to the forum!

Triple check your spelling because it is not correct.
The casing is wrong here

once you fix that, then it will pass

Thanks! Problem solved.