Hello people !
It led me to build a MVC (sort of) little application called Cat Clicker. The goal of this exercice was to separate contexts this way :
- Model can only communicate with Controller;
- Controller can call Model and View functions;
- View Can only communicate with Controller.
I’ve learn quite a lot doing this, and while the code is lenghtier than my first try I feel it is easier to understand how it works, and is more easily expandable (I think).
My question is : Is there any way to make this look better/cleaner without using third party library ?
I’ve gone the vanilla JS way and I know my code could have been less verbose by using Jquery, but I wanted to better understand DOM stuff beforehand.