P
Matt Studdert• 13,611
@mattstuddert
Posted
Hey Berava, great to see you post another solution, it looks really good! The main feedback I've got is related to the JS form validation. At the moment the form still submits even with invalid inputs. I'd recommend targeting the form
and listen for the submit
event to trigger the validation check. I'd also add event.preventDefault()
to prevent the form from submitting automatically. Then you can run the checks and only submit the form if the validation checks pass.
Hope this helps! 🙂
0