Remove the input if someone typed the wrong password #205

Merged
cami merged 1 commit from fronted/reset-input-values into main 2021-07-23 23:11:46 +00:00
Showing only changes of commit d220f86cb8 - Show all commits

View file

@ -115,10 +115,11 @@ export default function Study() {
};
const resetInputValues = () => {
let inputElements = document.querySelectorAll('div input:not([type="submit"])');
for (let i=0; i < inputElements.length; i++){
inputElements[i].value = ""
let inputElements = document.querySelectorAll(
'div input:not([type="submit"])'
);
for (let i = 0; i < inputElements.length; i++) {
inputElements[i].value = "";
}
};