MDN self-hosted library · e01.org

Add JavaScript to your web page

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

html
<script src="path/to/my/script.js"></script>
html
<script>
  console.log("Some code");
</script>