Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive Card Details Form built with React

Galaxy159 470

@Galaxy159

Desktop design screenshot for the Interactive card details form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


Had trouble with:

  • Couldn't figure out how to make a gradient border for the inputs on focus and with the same radius. So used violet color instead.

  • Didn't find a way to use the mask option in react on the input field for the card number. I was able to make it so that there are spaces every 4 characters, however the backspace doesn't work correctly in the input field this way.

Any feedback appreciated! 🙏

Have an awesome day everyone, and happy coding! 🎉

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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