Hassan El Jebyly• 490
@hassaneljebyly
Posted
congrats looks great, however it needs more input validation, I entered "1" for the number fields and "a" for the name field and it accepted it, I suggest you use regex to identify card company.. etc, here's a useful link for that https://medium.com/hootsuite-engineering/a-comprehensive-guide-to-validating-and-formatting-credit-cards-b9fa63ec7863 good luck.
Marked as helpful
0