Tell us what’s happening:
I do not understand why it’s not passing because I believe that I am correctly clearing the inputs. Here is the error "Your clearInputFields function should set each input field to an empty string.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: index.ts */
// User Editable Region
const clearInputFields = ()=>{
const inputFields = document.querySelectorAll(".input") as NodeListOf<HTMLInputElement>
inputFields.forEach(input=>input.value = "")
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36
Challenge Information:
Build a Shape Manager - Step 35