Design comparison
SolutionDesign
Solution retrospective
I learned how to use regular expressions with this project!
For the form:
- the card number automatically inputs a space after every 4 numbers.
- the number input fields have a shake animation when the user tries to add a space.
Community feedback
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