posted 4 years ago
Two problems I'm having here...
One, as soon as I load the page, it is trying to invoke the addEventListener without waiting for the submit button to be clicked.
The 2nd problem is, even when the passwords do match, it is not accepting them as equal. Is there a better way to write this?