Profile code

Any page can be written in HTML, CSS and JavaScript instead of built in the editor. Open your dashboard and choose Code. The preview runs your code exactly the way visitors will see it, and the console shows errors and console.log output.

Your code can make the page look and behave however you like. What it can't do is talk to the network or anything outside the page — so a profile can't become an app backend, a login form or a copy of another site.

Your details: window.ohlow

Your public profile is available as a read-only object:

window.ohlow = {
  username: "yourname",
  displayName: "Your Name",
  avatarUrl: "https://…" | null,
  bio: "…",
  badges: [{ id: "developer", label: "Developer" }]
}

Libraries

Load these from Ohlow (other script sources are blocked):

<script src="/vendor/[email protected]/confetti.browser.js"></script>
<script>confetti();</script>

<script type="module">
  import * as THREE from "/vendor/[email protected]/three.module.js";
</script>

Images, video and embeds

Links

Links work as usual. Ohlow opens them in a new tab, so your page stays open. Only https:, http: and mailto: links open.

What's blocked, and why

Each of HTML, CSS and JavaScript can be up to 150 KB. Pages that break these rules or the guidelines may be removed.