Design comparison
Solution retrospective
Hi everybody! 👋
Frontend Mentor - Interactive card details form solution
This is a solution to the Interactive card details form challenge on Frontend Mentor.
The challenge 🎯
Users should be able to:
- Fill in the form and see the card details update in real-time
- Receive error messages when the form is submitted if:
- Any input field is empty
- The card number, expiry date, or CVC fields are in the wrong format
- View the optimal layout depending on their device's screen size
- See hover, active, and focus states for interactive elements on the page
Links 🔗
- Solution: Github Repository
- Solution: Github Page
My process ⚙️
Built with 🛠️
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Sass - Css preprocessor
- Mobile-first workflow
- Javascript - for the form inputs functionality
What I learned 📚
This challenge allowed me to consolidate and expand my knowledge in javascript, especially in: -Management of events. -Functions of validation. -Creation of regular expressions. -Manipulation of the DOM.
In turn, this was the first project using SASS to style my html, getting into the use of: -Nestings -Partial -Mixins -Extends
Continued development 🔨
In relation to sass, I want to consolidate the management of its syntax and the advantages it offers compared to simple css style sheets. As for javascript, I want to address more challenges related to form validations, to finish learning how it works.
Author 🙋🏻♂️
- Twitter/X - @agus_firpo
- Frontend Mentor - @Arfirpo
- Linkedin - Agustín Rodrigo Firpo
Community feedback
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