@kctoey
Nicholas Duadei Nicholas
@DevNickJrAll comments
- @DevNickJr
Concerning your button not working
- First off, check out your errorFunc,
-
const span should be equal to document.querySelector and not formControl.queryseletor
-
Give id to each span in your html. Select and Use the querySelector with the id, instead of the span element.
- Checkout your script.js file: In your submit event handler function, you used the preventDefault function which stops the default behavior of an element. in this case, it stops the form from submitting.