Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
- Used customized built in elements. Created TipCalculator custom web components using section built it element.
- Created separate module for validation of form that takes input element and checks the validation based on the added attributes.
I had issue with the button getting selected when Enter is pressed on input element after input value. This is normal form behaviour, when Enter key is pressed the first button on the form gets selected. To get around this issue I had to add keydown event on all the input element on the form and prevent default behaviour on Enter key press.
What specific areas of your project would you like help with?Open for feedback
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