Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Interactive card details form solution

CMP2007•210
@CMP2007
A solution to the Interactive card details form challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am satisfied with how I approached the validation of the data, I think I covered the different actions that the user can take quite well, however in the future I would like to try other conditional structures to reduce my use of if and perhaps reduce the number of functions if possible

What challenges did you encounter, and how did you overcome them?

"My greatest challenge, as well as the major hurdle I encountered in this design, was with CSS styles, particularly with the pseudo-element of the 'YY' data, since, unlike other pseudo-elements, the properties transform: translate in this generated problems for me. It seemed that my problem lay in the fact that the reference element used by these properties to position themselves was being modified, which caused the pseudo-element's position to be affected at times. However, I was unable to determine with exactness what was causing this conflict. The solution I found was to clear the browser cache while working to force it to load the updated files again. However, the error persisted in some cases without my being certain why."

What specific areas of your project would you like help with?

As I mentioned earlier, I had problems positioning the pseudo-elements. If anyone knows what could have happened or if I misused the properties or syntax of these, I would appreciate it if you could let me know. Similarly, any corrections or suggestions are appreciated.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on CMP2007's solution.

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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License