Interactive card data form with validation (bem, pure js)

Solution retrospective
Any feedback on what I can improve in my code and the technique I'm using is welcome (especially javascript)
Please log in to post a comment
Log in with GitHubCommunity feedback
- @sulemaan7070
hey 😄robotamozepoczekac, congratulations on completing the challenge... here are a few tips to make your site better.
1.As for design, you did a great job!! functionality vise you can add more validation to the site...
case 1.when I am clicking on
confirm
button without filling in any input fields only thecard holder name input
field is showing a validation message.case2.when I am entering text in only
card holder name
and click on theconfirm
button only thecard number
is showing the validation error... when every other element should show the validation error.. hope you will fix these2.and as for the validation messages write the error message and use the CSS property
display:invisble
to make them invisible and when needed make themdisplay:block
this should solve the problem of page resizing frequentlyHope that helps happy coding💯✅😄
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