git-sparkle.web.val.run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
export default async (request: Request): Promise<Response> => {
return new Response(
/* html */ `<html>
<head>
<script type="module" src="https://esm.sh/@stefanjudis/sparkly-text"></script>
</head>
<body style="max-height:600px;max-width:475px;background-color:#f0f0f0;">
<sparkly-text
number-of-sparkles="5"
style="--sparkly-text-size: 2.5em"
>
Hello sparkles
</sparkly-text>
</body>
</html>`,
{ headers: { "Content-Type": "text/html" } },
);
};
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!
May 2, 2024