Your question is Explain Event Loop and Promises. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Describe the JavaScript event loop and how Promises function in an asynchronous environment.
Explain how synchronous code, task queue callbacks, and Promise reactions are scheduled, including the ordering between macrotasks and microtasks. Use a short JavaScript example to show the execution order and distinguish Promise creation from Promise settlement and callback execution.
Scope: browser JavaScript and the standard event loop model. You do not need to discuss framework-specific schedulers or implement an event loop.