MDN self-hosted library · e01.org

How to implement a promise-based API

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<button id="set-alarm">Set alarm</button>
<div id="output"></div>