Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 3 years ago

Interactive Card Details form - React

react, sass/scss
Louie J•230
@ljmarket13
A solution to the Interactive card details form challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Louie J'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License