You need to get all of the input containers. Declare an inputContainers variable, and assign it to the value of querying the document for all elements with the class input-container .
function clearForm() {
const inputContainers = querySelectorAll("input-container")
}
Sorry, your code does not pass. Hang in there.
You should use the querySelectorAll method to get all of the elements with the class input-container.
Hello there, welcome to the forums. I think you are missing a crucial part before calling the querySelectorAll() method. Usually, it’s a document.xyz. I think you missed that part, that’s why it’s failing.