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

Responsive card details - React - Vite

#react#vite
Roberto Ramirezโ€ข 1,280

@Robertron624

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


What did you find difficult while building the project?

Properly positioning both the cards and its internal dynamic text. It was really hard finding the proper way to position them in the position the design wanted to be

Community feedback

S MD sulemanโ€ข 3,530

@sulemaan7070

Posted

hey Roberto Ramirez๐Ÿ˜„, great job completing this challenge!! and yes this one should be intermediate level if we consider the form validation and CSS positioning... I have a suggestion for you

1.limit the number of characters to 2 in the MM and YY fields and 3 in the case of CVC.

  1. Limit the number of characters to be accepted as input to 16 in case of card number

bonus๐Ÿ“š

I recommend you to add the regex to convert this number 1234567812345678 to this 1234 5678 1234 5678

Happy coding๐Ÿ˜„๐Ÿ‘๐Ÿปโœ…

Marked as helpful

1

Roberto Ramirezโ€ข 1,280

@Robertron624

Posted

@sulemaan7070

Thank you so much for your feedback! I'll work in those suggestions.

1

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