Design comparison
SolutionDesign
Solution retrospective
Here's my credit card form project. Its built with React and styled with SCSS. At first, I used a npm package "react-credit-cards" as you can see in the CreditCard.js file and it worked great and with less code but decided to build it from scratch so I can get more practice in. I also added a little animation when you submit the form using Framer Motion(great library for animation!). Only thing is that this is not optimized for mobile screens. I am having troubles making it responsive so if anyone has any suggestions on how I can make it work please let me know!
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