STEP 2 OF 3 — INSTALL
◆CODE: U+25C6 BLACK DIAMOND
Installing OCC demo package…
occ-demo-package-v1
FILE INSTALLATION
index.html
HTML
—
style.css
CSS
—
nav.html
HTML
—
app.js
JavaScript
—
manifest.json
JSON
—
a11y-checklist.md
Markdown
—
occ-demo-package-v1/
├── index.html (312B)
├── style.css (1,247B)
├── nav.html (248B)
├── app.js (2,891B)
├── manifest.json (342B)
└── a11y-checklist.md (892B)
Total: 5,932 bytes — 6 files — 0 network requests
SOURCE CODE — INSTALL CARRIER (◆)
<!-- INSTALL CARRIER (◆) — 3-Code Install Demo -->
<script src="/js/occ-reader.min.js"></script>
<!-- The ◆ character below installs the entire package: -->
<main id="occ-main">◆</main>
<!-- When expanded from /demos/install-registry.json:
◆ Creates: index.html, style.css, nav.html
◆ Creates: app.js, manifest.json, a11y-checklist.md
◆ Saves package manifest to localStorage
Result: 6-file package from 1 character -->