Design comparison
SolutionDesign
Solution retrospective
In this solution I tried the time functions of Javascript such as setInterval() for the first time. I also wanted to ask how to efficiently write code for detecting errors in card number. I know I could just plug in a bunch of conditionals to check and rectify stuff but I just want to find out if it can be done in an easier manner.
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