Public
HTTP (deprecated)
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { msYear } from "https://esm.town/v/stevekrouse/msYear";
export let site = (req: Request) =>
new Response(
`<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
<h1>Steve Krouse</h1>
<p>👋 Hi, I'm Steve. I'm ${
(new Date().getTime() - new Date("1/21/1994").getTime()) /
msYear
} years old. I live in Prospect Heights, Brooklyn and work at
<a href="https://val.town">Val Town</a>.
</p>
<p>I am passionate about the future of computing, education & media.</p>
<h2>Links</h2>
<ul>
<li><a href="https://twitter.com/stevekrouse">Twitter</a></li>
<li><a href="https://github.com/stevekrouse">Github</a></li>
</ul>`,
{
headers: {
"Content-Type": "text/html",
},
},
);
stevekrouse-site.web.val.run
October 23, 2023