1
2
3
4
5
6
7
8
9
10
11
12
import { vanPlate } from "https://esm.town/v/pomdtr/vanPlate";
export const exampleTemplating = (() => {
const { html, tags } = vanPlate();
const { body, p, ul, li, a } = tags;
return html(
body(
p("👋Hello"),
ul(li("World"), li(a({ href: "https://vanjs.org/" }, "🍦VanJS"))),
),
);
})();
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023