Submitted about 2 years agoA solution to the Interactive card details form challenge
Practice-16
@SvitlanaSuslenkova

Solution retrospective
Will be glad to receive any advice on my js code.
- Max length for inputs was a problem and I'm not sure if I did it right.
- To add spaces into input card number was difficult and I don't like the way I did it. I saw there is a mask fo this, but it didn't work in any way possible.
- Used Luhns validation: Valid numbers examples: 4444 4444 4444 4444 4 4444 4444 4444 4448 5555 5555 5555 5557
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Svitlana Suslenkova's solution.
Join 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