MDN self-hosted library · e01.org

Framework main features

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

js
const subject = "World";
const header = React.createElement(
  "header",
  null,
  React.createElement("h1", null, "Hello, ", subject, "!"),
);
html
<header>
  <h1>Hello, World!</h1>
</header>
html
<header>
  <h1>Hello, \!</h1>
</header>
html
<header>
  <h1>Hello, World!</h1>
</header>
js
function add(a, b) {
  return a + b;
}
html
<figure>
  <img src="assets/zelda.png" alt="Portrait of Zelda Schiff" />
  <figcaption>Zelda Schiff is editor-in-chief of the Library Times.</figcaption>
</figure>
html
<button>Clicked 0 times</button>
js
import AuthorCredit from "./components/AuthorCredit";