Responsive Tip CalculatorApp with Grid, EventListeners and Validations

Solution retrospective
I'm proud of using validations to check the data from inputs. I would like to experiment with creating validations in a more concise way.
What challenges did you encounter, and how did you overcome them?When I tried to use one of the buttons as a parameter within a forEach loop I resolved the issue by assigning a class to the button when it was clicked.
What specific areas of your project would you like help with?First in my code, I had two functions that iterate on an array of elements (buttons and inputs) and I wanted to pass the clicked element as an argument to another function, but I didn’t understand how to do it.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Danae Lescano'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