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

Interactive Card Details

#vue#sass/scss

@azzykesuma

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


the test case for form validation

  1. if input field is blank
  2. if month number value is larger than 12
  3. if year value is smaller than current year as for formatting (card number,cvc,month,etc cannot be alphabet), i use @input function to format the value using regex, so i don't think it's necessary to display wrong format error, as user will not be able to type wrong format anyway

any comments are very welcomed!

Community feedback

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