Tip Calculator App Solution

Solution retrospective
I've been experimenting with various ways of structuring the JavaScript of my applications so that the components are not strongly coupled and directly calling one another. I used the pub/sub design pattern for this particular project. For the next set of projects, I'll probably attempt to use a top-level "controller" to mediate the interactions between the components.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @gustavo2023
Hi Andrew, congrats on completing this challenge. I find very interesting the way you structure your JavaScript code. It's a great way to separate the functionality of each component and keep your code clean.
Keep up the good work.
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