Submitted over 1 year ago
Responsive Interactive Card Details Form using CSS Flexbox
@Chitundu15
Design comparison
SolutionDesign
Solution retrospective
The parts I found most difficult about this project were ;
- Finding a way to update the card details in real time.
- Changing the form to display a thank you message after clicking confirm
Community feedback
- @jesusleonel10Posted over 1 year ago
Some suggestions:
Instead of using the keyup event, you can instead use the input event that is executed when the value of the input is changed in real time.
š Info: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
You could also show the default text on the cards when the inputs are empty (using the input event when they are empty).
You can validate the name input to avoid typing numbers or symbols
I hope it helped you šā
Marked as helpful0
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