Design comparison
Solution retrospective
I have practiced my custom js validation. I had a problem with format input text (card number) on typing. I wish it was good work.
Community feedback
- @sulemaan7070Posted almost 2 years ago
hey Karol😄, congatulations on completing the challenge here are a few tips to make your site better..
1.You to limit the number of characters accepted by the
card number
input field to be 16.2.limit the number of characters to 2 in the
MM and YY
fields and 3 in the case ofCVC
. 3.Though it is showinginvalid characters
for thecard holder name
it is stillshowing thank you card..
Hope that helps, happy coding🔥👍🏻
Marked as helpful0@CharlesSquirelPosted almost 2 years ago@sulemaan7070 Thanks for your comments. I have refactorized my code. Ad 2 this fields had already max length attribute.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord