Advice generator app (MVC architecture, ES6 classes and modules)

Solution retrospective
I do not have any questions but I must say that I learned quite a lot with this project.
A couple of things I learned are
- How to work with ES6 classes and modules
- How to work with a zero configuration build tool such as Parcel
- How to implement the MVC (model-view-controller) architecture in JavaScript
- How to implement the Publisher-Subscriber pattern
- How to write documentation for functions
- How to implement a project configuration file and use it throughout the project
Another thing I created as well is a flowchart. This is something I learned from a previous course I followed on Udemy (so I decided to create one on my own this time).
Feedback on the implementation of the MVC architecture as the error handling is welcome.
----------
As a sidenote: as soon as the user presses the button, the button disables for 2 seconds. The API returns the same advice within that time period and this might confuse the user if the user presses the button again.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Yari Morcus'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