Interactive Card Details Form built using HTML, SASS, and JavaScript

Solution retrospective
Would there be a way to condense the regular expression for the card number validation used in this challenge? regExp = (/^(\d{4}\s\d{4}\s\d{4}\s\d{4})$/)
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Katrine Pedersen'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