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

Credit Card Component built with React

@khasTema

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


I'm not satisfied with form validations. Will try to revisit it using formik library

Community feedback

Warren 630

@warrenlee

Posted

Hey Artem, I would definitely go with using Formik. It'll make implementing forms easier as I personally think implementing forms is a nightmare.

Here is my take on the challenge https://bitbucket.org/warrenlee/frontend-mentor/src/master/interactive-card-details-form/

I used an if/else to determine whether to show the form or the thank you message. Feel free to browse my code and take away some inspiration if it helps!

Marked as helpful

0

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