Exercise Going Practice Setting Custom Validation Message Password Fields Form Use Docume Q37105560

In this exercise we are going to practice setting a custom validation message for the password fields on a form. . Use docume

In this exercise we are going to practice setting a custom validation message for the password fields on a form. . Use document.querySelectorAll to return both password fields (match the ‘input[type password]’ selector). Assign the array returned to a var named pwds. Use the property oninput to add a input event handler to each of the pwds array elements. Have the oninput events call a function named checkPassword. . Create a function checkPassword

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.