@lgorvin
Posted
Great job! It all looks great. A suggestion to improve the functionality would be to stop users from being able to input numbers into the cardholder's name and letters into the card number input etc...
Marked as helpful
@MohammedDuke
Posted
@lgorvin thanks for your review
@cbserra
Posted
@MohammedDuke
To continue @lgorvin's comment, check out the following input
attributes:
Your Javascript check...()
functions are also very similar -- you could probably refactor the code to be one function which takes in an object to evaluate/update.
Clicking 'Confirm' button after submitting the card data should bring the user back to an empty form.
Marked as helpful
@MohammedDuke
Posted
@cbserra thanks for your review
about input attr i already know them but i love to use js ,because i was in army for long time and was away from programing so forget about js
i will update confrim button thanks for notice me
but could you mind to tell me more about one function which take in an object to evaluate