![](https://res.cloudinary.com/dz209s6jk/image/upload/f_auto,q_auto,w_900/Screenshots/nrotjx7ctwxf0ll20p7g.jpg)
Design comparison
Solution retrospective
I'm really happy with the overall work, I don't know if there is more things to do to improve the JavaScript code in terms of code refactoring and/or optimization.
What challenges did you encounter, and how did you overcome them?I've encountered several challenges...
The first one was choosing a logic of how the application would work, either updating the tip and total values as the user fill in the inputs or do the calculation and showing the result at the end after filling all the inputs...
The second thing was the calculation itself, because I needed to make the calculateTip()
function work each time the user interacts with the form.
I would love getting some feedback about the quality of the JavaScript code and also if the quality of the responsiveness of the page regarding large screens.
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