This is a solution to the Interactive card details form challenge on Frontend Mentor.
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
- Live Site URL: Solution Link
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- JavaScript
It was a great project. It acted as a source of revision of the concepts that I had learnt in JavaScript a long time ago. It was a lengthy project (for me), took almost a week. But yeah, at the end, it was worth it!!
- Example resource 1 - Reached out ChatGPT whenever stuck at a problem
- LinkedIn - Shubham Kandpal
- Frontend Mentor - @Shubham-Kpl
- Twitter - @Shubham27200503