/credit-card

Primary LanguageJavaScript

Credit-Card

Functonalities

  • After adding 4 digits the focus should automatically move to the next input box. Same should happen during deletion.
  • On pasting from the clipboard, the last input field should get infocus.
  • User must be able to paste not more than 16 digit number which must be equally divided into 4 input fields.
  • No use of any CSS framework/library.