However, my idea was to add more dynamics and cover all important sections: - Call stack - Request Animation Frame - Micro tasks - Macro tasks - Web API
I decided to have fun and created a small pet project. It aims to visualize event loop steps in a browser environment. You can change the code in the editor or select one of the existing examples. I hope you find it useful! Have fun! https://vault-developer.github.io/event-loop-explorer/
P.S. Given that it's a simulation of real environment behavior, it has some limitations. Feel free to check details in the GitHub README; the project is open-sourced under MIT license.