used css and js for the responsiveness and interactiveness
Design comparison
Solution retrospective
Enjoyed this one. Starting to be quicker and more comfortable with the whole process.
Community feedback
- @NaleekaPosted over 2 years ago
You could use "maxlength","min","max" attribute for card number, Month and Year inputs.
<input type="number" name="eMonth" maxlength="2" min="1" max="12" placeholder="MM" required />
.... like thisLove your work <3
Marked as helpful2@francobernardiiPosted over 2 years ago@Naleeka Just to add, if the maxlength doesn't work try to change de input Type to "Text" and make the validation of empty fields and numbers in JS.
Great work!
1 - @Deevyn9Posted over 2 years ago
Hi Austin, great solution, the link to your code isn’t working, try to link it to a repo.
Good luck
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