Whenever you're ready, walk me through how you'd approach this.
Explain the critical rendering path, the event loop, and how Promises fit into JavaScript execution.