Interactive Card Details Form with Identifyting Card Types

Solution retrospective
🙋♂️ Hello, Everyone,
Here is my solution for the Interactive Card Details Form.
- Scored
99%
on Google Pagespeed Insights! 🤩 - Built with
ReactJS
| Designed withTailwindCSS
⚙️ - Implemented
Regular Expressions
to validate and format the inputs. ⌨️ - Implemented Luhn's Algorithm to validate a card number. 💳
- Tried a combination of
TailwindCSS
&BEM
to make the structure consistent and scalable. 📈 - Learned a way to add a gradient to the border: 💯
- Minified the
CSS
files to improve site performance 🚀
❗But I have some constraints regarding the design:
- The gradient border doesn't accept the
border-radius
property. - Custom background configuration in
tailwind.config.js
doesn't work in production.
Your feedback is appreciated if you know the answer and/or find any other constraints. 🤝 Also, I'll be happy to hear any other Feedback or Advice on improving the code. 🤓
Code Together | Learn Together | Grow Together
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Arshad Ali Kaldane'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