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

Card details form using plain JS and CSS

@WolfMozart8

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


I used a plugin (not sure how to name it) called "Jsuites" for number masks (I used it for the credit card numbers format), besides that i used only plain js.

Of course i didn't use default HTML validation, but i used js to create custom validation instead... and it was fun.

I'd like to see it more "professional", but I'm not sure where I'm going wrong.

Any feedback is welcome, thanks!.

Community feedback

P
FO 155

@de-furkan

Posted

Hi there,

The design looks responsive to some extent but there are a few points to consider:

  1. Make use of some landmark HTML5 elements e.g. use the <main> to wrap all your main markup

  2. Section / article elements usually require a heading

  3. Validate your code with: W3C

The w3c validator will give you a more detailed guide on what is missing and what should be avoided in your markup

I hope that has helped, Happy coding

Marked as helpful

1

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