P
Mina Makhlouf• 770
@Minamakhlouf
Posted
Hi Artemii,
Congratulations on the project.
For form validation, it would be best to wrap the input and the button in a <form> element give the form an event listener that would run your function on a "submit" event. Aside from that, your JavaScript and regular expressions are solid.
Nice project.
Marked as helpful
0