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 form

tyVespA 280

@tyVespA

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 feel like this was my first "real" project with tons of css and js styling and i think it highlighted my poor js knoledge. The functions are extremely repetitive and tedious to write and to read and debug

Is it possible to wrap them in a for.each loop or another type of loop? I couldn't figure out how to do it and target the correct selectors

Also i made the input borders when they are focused by wrapping them in a div with the color gradient provided but couldn't remove them with js (unless i made another class for each input and removed the div corresponding to the input), here again i think a loop would work perfectly

Any other feedback is appreciated!

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