Design comparison
SolutionDesign
Solution retrospective
- Not sure how do I group and even do I need to group input elements for month and year. Fieldset was added as ad hoc.
- Is using scale for the preview card is really the right choice to make cards responsive?
There are definitely more question about layout in general but it took too many days to remember them all. Even though there are videos of me doing the challenge I definitely should take notes along the way.
Community feedback
- @waltuh12345Posted over 1 year ago
how did you add spaces in the card number input? mine sucks
0@matryoshaPosted over 1 year ago@waltuh12345 Here.
Using beforeinput event so that I can manually append value to card input.
The logic is to append a space when there is already 4/8/12 character in the input.
0
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