Design comparison
SolutionDesign
Solution retrospective
Site built using ReactJS and the useState hook.
I made the site so that the card details auto-update as you type them in the input form. One thing I failed to achieve was have specific error messages for specific errors that might happen in the inputs.
Instead, I made it so that only numbers can be entered in the fields where numbers are required and only letters can be entered in the name input field.
I would like to hear some feedback on how I can improve my code! Also, if you notice any design errors please tell me so I can fix them right away.
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