Neocities Handcrafted Indie Web
Warm personal-web revival with handcrafted 88x31 SVG web-buttons, pixel-border neighborhood cards, and a live guestbook.
Inspired by Neocities ↗
WHY THIS AESTHETIC IS UNIQUE
Celebrates the human joy of the indie personal web without becoming unreadable: warm cream paper, crisp navy ink, coral accents, authentic 88x31 micro-badges, webring filters, and a working guestbook.
BEST FOR
TAGS
COLOR PALETTE (CLICK TO COPY HEX)
TYPOGRAPHY
- Display
- Space Mono, Courier New, monospace
- Body
- Work Sans, -apple-system, sans-serif
- Mono
- Space Mono, ui-monospace, monospace
- Scale
- Charming bold monospace headings paired with friendly legible sans descriptions and pixel-crisp tag badges.
ARCHITECTURE & MOBILE NOTES
LAYOUT
Handcrafted header with 88x31 inline SVG web-button ribbon, tag-filterable neighborhood site directory with double/pixel borders, webring navigator bar, and an interactive Sign Guestbook panel.
INTERACTION
Filter neighborhood sites by vibe (Shrines, Pixel Art, Webrings, Zines, Gardens), random-site webring jumper, and a live guestbook form that appends signed entries immediately.
MOBILE
88x31 button wall wraps neatly without overflow; neighborhood cards stack cleanly and all guestbook inputs and buttons meet >=44px touch standards on 390px.
AI AGENT GUARDRAILS
DO
- Include charming handcrafted touches like 88x31 SVG badges, hit counters, and guestbooks
- Keep text contrast crisp and layouts structurally tidy despite the playful zine aesthetic
- Use warm cream and navy-coral palettes to elevate retro indie-web charm
DON'T
- Do not use flashing/strobing animations or unreadable low-contrast tiled text
- Do not replace personal-web warmth with sterile corporate templates
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PIXELTOWN — Handcrafted Personal Web Neighborhood</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,500;0,6..72,700;1,6..72,500&family=Silkscreen:wght@400;700&family=Work+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--canvas: #FAF5EC;
--surface: #EFE7D8;
--ink: #1A2238;
--accent: #E94F37;
--muted: #5E6472;
--teal: #2A9D8F;
--border: 2px solid var(--ink);
}
*, *::before, *::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
overflow-x: clip;
}
body {
margin: 0;
background-color: var(--canvas);
background-image:
linear-gradient(rgba(26, 34, 56, 0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(26, 34, 56, 0.05) 1px, transparent 1px);
background-size: 24px 24px;
color: var(--ink);
font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
line-height: 1.55;
overflow-x: clip;
}
a { color: var(--accent); }
button, input, textarea, select { font: inherit; }
.container {
width: 100%;
max-width: 1120px;
margin: 0 auto;
padding: 0 18px;
}
/* Pixel-border utility */
.pixel-box {
background: var(--canvas);
border: var(--border);
box-shadow: 4px 4px 0 var(--ink);
}
/* Header */
header {
background: var(--surface);
border-bottom: var(--border);
position: sticky;
top: 0;
z-index: 40;
}
.nav-wrap {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 64px;
gap: 12px;
}
.site-logo {
display: inline-flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: var(--ink);
font-family: 'Silkscreen', monospace;
font-size: 1.15rem;
font-weight: 700;
}
.logo-badge {
background: var(--teal);
color: #fff;
padding: 4px 7px;
border: 2px solid var(--ink);
box-shadow: 2px 2px 0 var(--ink);
font-size: 0.82rem;
}
.nav-links {
display: flex;
gap: 18px;
font-family: 'Silkscreen', monospace;
font-size: 0.78rem;
}
.nav-links a {
color: var(--ink);
text-decoration: none;
padding: 6px 4px;
}
.nav-links a:hover {
color: var(--accent);
text-decoration: underline;
}
.nav-toggle {
display: none;
min-width: 44px;
min-height: 44px;
background: var(--canvas);
border: var(--border);
box-shadow: 2px 2px 0 var(--ink);
font-family: 'Silkscreen', monospace;
cursor: pointer;
}
.mobile-nav {
display: none;
border-top: var(--border);
padding: 12px 18px 16px;
background: var(--canvas);
flex-direction: column;
gap: 8px;
}
.mobile-nav.open {
display: flex;
}
.mobile-nav a {
min-height: 44px;
display: flex;
align-items: center;
padding: 0 12px;
border: var(--border);
background: var(--surface);
color: var(--ink);
text-decoration: none;
font-family: 'Silkscreen', monospace;
font-size: 0.8rem;
}
/* Hero */
.hero {
padding: 36px 0 28px;
}
.hero-card {
padding: 28px;
display: grid;
grid-template-columns: 1.25fr 0.75fr;
gap: 24px;
align-items: center;
background: var(--canvas);
}
.pixel-kicker {
font-family: 'Silkscreen', monospace;
font-size: 0.74rem;
color: var(--teal);
margin-bottom: 10px;
}
h1 {
font-family: 'Newsreader', Georgia, serif;
font-size: clamp(2rem, 4.4vw, 3.2rem);
line-height: 1.08;
margin: 0 0 14px;
}
.hero-copy {
color: var(--muted);
margin: 0 0 18px;
font-size: 1rem;
}
.hero-stats {
background: var(--surface);
border: var(--border);
padding: 16px;
display: flex;
flex-direction: column;
gap: 10px;
font-family: 'Silkscreen', monospace;
font-size: 0.75rem;
}
.counter-pill {
background: #1A2238;
color: #FAF5EC;
padding: 8px 10px;
letter-spacing: 0.14em;
text-align: center;
font-size: 0.95rem;
}
/* 88x31 Web Buttons Wall */
.buttons-strip {
margin-top: 20px;
padding: 14px 18px;
background: var(--surface);
border: var(--border);
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
}
.strip-label {
font-family: 'Silkscreen', monospace;
font-size: 0.72rem;
color: var(--muted);
margin-right: 6px;
}
.btn-88x31 {
width: 88px;
height: 31px;
display: block;
image-rendering: pixelated;
border: 1px solid var(--ink);
}
/* Neighborhood Directory */
section {
padding: 30px 0;
}
.sec-head {
display: flex;
justify-content: space-between;
align-items: flex-end;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 18px;
}
h2 {
font-family: 'Newsreader', Georgia, serif;
font-size: clamp(1.6rem, 3vw, 2.2rem);
margin: 0 0 4px;
}
.tag-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 22px;
}
.tag-pill {
min-height: 44px;
padding: 8px 14px;
background: var(--canvas);
border: var(--border);
box-shadow: 2px 2px 0 var(--ink);
font-family: 'Silkscreen', monospace;
font-size: 0.76rem;
cursor: pointer;
}
.tag-pill.active {
background: var(--accent);
color: #fff;
}
.site-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
}
.site-card {
background: var(--canvas);
border: var(--border);
box-shadow: 4px 4px 0 var(--ink);
display: flex;
flex-direction: column;
}
.site-card.hidden {
display: none;
}
.site-bar {
background: var(--surface);
border-bottom: var(--border);
padding: 6px 10px;
display: flex;
justify-content: space-between;
align-items: center;
font-family: 'Silkscreen', monospace;
font-size: 0.68rem;
}
.site-thumb {
border-bottom: var(--border);
background: #fff;
padding: 10px;
}
.site-thumb svg {
width: 100%;
height: 132px;
display: block;
border: 1px solid rgba(26, 34, 56, 0.25);
}
.site-body {
padding: 14px;
display: flex;
flex-direction: column;
gap: 6px;
flex: 1;
}
.site-body h3 {
margin: 0;
font-family: 'Newsreader', Georgia, serif;
font-size: 1.2rem;
}
.site-body p {
margin: 0;
font-size: 0.88rem;
color: var(--muted);
flex: 1;
}
.site-foot {
margin-top: 8px;
padding-top: 8px;
border-top: 1px dashed rgba(26, 34, 56, 0.3);
display: flex;
justify-content: space-between;
font-size: 0.74rem;
color: var(--teal);
font-weight: 600;
}
/* Guestbook */
.guestbook-grid {
display: grid;
grid-template-columns: 0.95fr 1.05fr;
gap: 24px;
align-items: start;
}
.gb-form {
padding: 20px;
background: var(--surface);
display: flex;
flex-direction: column;
gap: 14px;
}
.gb-form label {
display: block;
font-family: 'Silkscreen', monospace;
font-size: 0.72rem;
margin-bottom: 5px;
}
.gb-form input,
.gb-form textarea,
.gb-form select {
width: 100%;
min-height: 44px;
padding: 9px 11px;
background: var(--canvas);
border: var(--border);
color: var(--ink);
}
.gb-form textarea {
min-height: 88px;
resize: vertical;
}
.submit-btn {
min-height: 46px;
background: var(--teal);
color: #fff;
border: var(--border);
box-shadow: 3px 3px 0 var(--ink);
font-family: 'Silkscreen', monospace;
font-size: 0.82rem;
cursor: pointer;
}
.submit-btn:hover {
background: var(--accent);
}
.gb-entries {
display: flex;
flex-direction: column;
gap: 14px;
}
.gb-entry {
padding: 14px 16px;
background: var(--canvas);
border: var(--border);
box-shadow: 3px 3px 0 var(--ink);
}
.gb-meta {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 6px;
font-size: 0.82rem;
margin-bottom: 6px;
padding-bottom: 6px;
border-bottom: 1px dashed rgba(26, 34, 56, 0.25);
}
.gb-stamp {
font-family: 'Silkscreen', monospace;
font-size: 0.68rem;
color: var(--teal);
}
footer {
margin-top: 30px;
border-top: var(--border);
background: var(--surface);
padding: 24px 0;
font-size: 0.82rem;
color: var(--muted);
}
.foot-row {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 12px;
}
@media (max-width: 900px) {
.hero-card, .guestbook-grid { grid-template-columns: 1fr; }
.site-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
.nav-links { display: none; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
.site-grid { grid-template-columns: 1fr; }
.hero-card { padding: 18px; }
}
</style>
</head>
<body>
<header>
<div class="container nav-wrap">
<a href="#top" class="site-logo">
<span class="logo-badge">88×31</span>
<span>PIXELTOWN</span>
</a>
<nav class="nav-links" aria-label="Primary">
<a href="#neighborhood">Neighborhood</a>
<a href="#guestbook">Guestbook</a>
<a href="#webring">Webring</a>
</nav>
<button type="button" class="nav-toggle" id="navToggle" aria-expanded="false" aria-controls="mobileNav">MENU</button>
</div>
<nav class="mobile-nav" id="mobileNav" aria-label="Mobile navigation">
<a href="#neighborhood">Browse Neighborhood</a>
<a href="#guestbook">Sign the Guestbook</a>
<a href="#webring">88×31 Button Wall</a>
</nav>
</header>
<main id="top" class="container">
<section class="hero">
<div class="pixel-box hero-card">
<div>
<div class="pixel-kicker">★ WELCOME TO THE HANDCRAFTED PERSONAL WEB ★</div>
<h1>Build a weird little homepage with your own two hands.</h1>
<p class="hero-copy">
No algorithmic feeds, no infinite scroll, no corporate templates. Pixeltown is a cozy directory of hand-coded shrines, digital gardens, pixel-art galleries, and neighborhood webrings.
</p>
<a href="#guestbook" class="submit-btn" style="display:inline-flex;align-items:center;padding:0 16px;text-decoration:none;">Sign Our Guestbook ↓</a>
</div>
<div class="hero-stats">
<div>VISITOR COUNTER</div>
<div class="counter-pill" id="hitCounter">004,892</div>
<div>ACTIVE SITES: 6 FEATURED</div>
<div>HOSTING: PURE HTML + CSS</div>
</div>
</div>
<!-- Handcrafted 88x31 Inline SVG Web Buttons -->
<div class="buttons-strip" id="webring" aria-label="88 by 31 web buttons">
<span class="strip-label">88×31 BUTTONS:</span>
<svg class="btn-88x31" viewBox="0 0 88 31" role="img" aria-label="Handcoded HTML">
<rect width="88" height="31" fill="#1A2238"/><rect x="2" y="2" width="84" height="27" fill="none" stroke="#FAF5EC" stroke-width="1"/>
<text x="44" y="14" fill="#E94F37" font-family="monospace" font-size="8" font-weight="700" text-anchor="middle">HANDCODED</text>
<text x="44" y="24" fill="#FAF5EC" font-family="monospace" font-size="8" text-anchor="middle">HTML + CSS</text>
</svg>
<svg class="btn-88x31" viewBox="0 0 88 31" role="img" aria-label="View Source">
<rect width="88" height="31" fill="#2A9D8F"/><rect x="2" y="2" width="84" height="27" fill="none" stroke="#1A2238" stroke-width="1.5"/>
<text x="44" y="19" fill="#FAF5EC" font-family="monospace" font-size="9" font-weight="700" text-anchor="middle"><SOURCE/></text>
</svg>
<svg class="btn-88x31" viewBox="0 0 88 31" role="img" aria-label="Indie Webring">
<rect width="88" height="31" fill="#E94F37"/><circle cx="14" cy="15" r="7" fill="#FAF5EC"/>
<text x="53" y="14" fill="#FAF5EC" font-family="monospace" font-size="8" font-weight="700" text-anchor="middle">WEBRING</text>
<text x="53" y="24" fill="#1A2238" font-family="monospace" font-size="7" font-weight="700" text-anchor="middle">← PREV NEXT →</text>
</svg>
<svg class="btn-88x31" viewBox="0 0 88 31" role="img" aria-label="RSS Feed">
<rect width="88" height="31" fill="#EFE7D8"/><rect x="3" y="3" width="24" height="25" fill="#E94F37"/>
<circle cx="10" cy="22" r="2.5" fill="#FAF5EC"/><path d="M9 15 A8 8 0 0 1 17 23" fill="none" stroke="#FAF5EC" stroke-width="2"/>
<text x="57" y="19" fill="#1A2238" font-family="monospace" font-size="9" font-weight="700" text-anchor="middle">RSS 2.0</text>
</svg>
<svg class="btn-88x31" viewBox="0 0 88 31" role="img" aria-label="Digital Garden">
<rect width="88" height="31" fill="#FAF5EC"/><rect x="2" y="2" width="84" height="27" fill="none" stroke="#2A9D8F" stroke-width="2"/>
<text x="44" y="19" fill="#1A2238" font-family="monospace" font-size="8" font-weight="700" text-anchor="middle">✿ GARDENS</text>
</svg>
</div>
</section>
<section id="neighborhood">
<div class="sec-head">
<div>
<h2>Neighborhood Directory</h2>
<p style="margin:0;color:var(--muted);">Explore personal pages tended by real humans—filter by hobby or vibe.</p>
</div>
<span id="dirCount" style="font-family:'Silkscreen',monospace;font-size:0.76rem;">6 SITES SHOWN</span>
</div>
<div class="tag-row" role="group" aria-label="Filter neighborhood sites by tag">
<button type="button" class="tag-pill active" data-tag="all">All (6)</button>
<button type="button" class="tag-pill" data-tag="shrines">Shrines</button>
<button type="button" class="tag-pill" data-tag="pixel-art">Pixel Art</button>
<button type="button" class="tag-pill" data-tag="webrings">Webrings</button>
<button type="button" class="tag-pill" data-tag="zines">Zines</button>
<button type="button" class="tag-pill" data-tag="gardens">Gardens</button>
</div>
<div class="site-grid" id="siteGrid">
<!-- 1 Shrines -->
<article class="site-card" data-tag="shrines">
<div class="site-bar"><span>teacup.neocities.org</span><span>#shrines</span></div>
<div class="site-thumb">
<svg viewBox="0 0 240 130" aria-hidden="true">
<rect width="240" height="130" fill="#FAF5EC"/>
<rect x="68" y="42" width="104" height="58" rx="4" fill="#E94F37" stroke="#1A2238" stroke-width="3"/>
<rect x="78" y="52" width="84" height="38" fill="#EFE7D8" stroke="#1A2238" stroke-width="2"/>
<circle cx="102" cy="71" r="10" fill="#1A2238"/><circle cx="138" cy="71" r="10" fill="#1A2238"/>
<rect x="108" y="68" width="24" height="6" fill="#2A9D8F"/>
</svg>
</div>
<div class="site-body">
<h3>Cassette Deck Shrine</h3>
<p>A loving tribute to 1989 portable Walkmans, type-II chrome mixtapes, and scanned J-card liner notes.</p>
<div class="site-foot"><span>Updated 2d ago</span><span>1,420 hits</span></div>
</div>
</article>
<!-- 2 Pixel Art -->
<article class="site-card" data-tag="pixel-art">
<div class="site-bar"><span>mossybits.neocities.org</span><span>#pixel-art</span></div>
<div class="site-thumb">
<svg viewBox="0 0 240 130" aria-hidden="true">
<rect width="240" height="130" fill="#1A2238"/>
<rect x="20" y="90" width="200" height="40" fill="#2A9D8F"/>
<rect x="74" y="42" width="56" height="48" fill="#FAF5EC"/>
<polygon points="66,42 102,14 138,42" fill="#E94F37"/>
<rect x="94" y="64" width="16" height="26" fill="#1A2238"/>
<rect x="166" y="24" width="18" height="18" fill="#FAF5EC"/>
</svg>
</div>
<div class="site-body">
<h3>Mossy Bits Cabin</h3>
<p>Isometric 16×16 cottage tilesets, animated fireplace GIF replacements, and free pixel-art adoptables.</p>
<div class="site-foot"><span>Updated today</span><span>3,105 hits</span></div>
</div>
</article>
<!-- 3 Gardens -->
<article class="site-card" data-tag="gardens">
<div class="site-bar"><span>fernnotes.neocities.org</span><span>#gardens</span></div>
<div class="site-thumb">
<svg viewBox="0 0 240 130" aria-hidden="true">
<rect width="240" height="130" fill="#EFE7D8"/>
<path d="M120 112 V30" stroke="#1A2238" stroke-width="3"/>
<ellipse cx="96" cy="54" rx="22" ry="10" fill="#2A9D8F" transform="rotate(-20 96 54)"/>
<ellipse cx="144" cy="64" rx="22" ry="10" fill="#2A9D8F" transform="rotate(20 144 64)"/>
<ellipse cx="94" cy="84" rx="24" ry="11" fill="#2A9D8F" transform="rotate(-15 94 84)"/>
<circle cx="120" cy="26" r="10" fill="#E94F37"/>
</svg>
</div>
<div class="site-body">
<h3>Fern's Digital Herbarium</h3>
<p>Slow-growing wiki of balcony herbs, sourdough hydration logs, and hyperlinked essays on calm software.</p>
<div class="site-foot"><span>Updated 5d ago</span><span>892 hits</span></div>
</div>
</article>
<!-- 4 Webrings -->
<article class="site-card" data-tag="webrings">
<div class="site-bar"><span>sunring.neocities.org</span><span>#webrings</span></div>
<div class="site-thumb">
<svg viewBox="0 0 240 130" aria-hidden="true">
<rect width="240" height="130" fill="#FAF5EC"/>
<circle cx="120" cy="65" r="42" fill="none" stroke="#1A2238" stroke-width="3" stroke-dasharray="8 6"/>
<circle cx="120" cy="23" r="9" fill="#E94F37"/><circle cx="162" cy="65" r="9" fill="#2A9D8F"/>
<circle cx="120" cy="107" r="9" fill="#1A2238"/><circle cx="78" cy="65" r="9" fill="#E94F37"/>
</svg>
</div>
<div class="site-body">
<h3>Solstice Webring Hub</h3>
<p>Connecting 44 hand-coded personal homepages with zero-JS fallback links and seasonal CSS themes.</p>
<div class="site-foot"><span>Updated 1w ago</span><span>5,610 hits</span></div>
</div>
</article>
<!-- 5 Zines -->
<article class="site-card" data-tag="zines">
<div class="site-bar"><span>staplepress.neocities.org</span><span>#zines</span></div>
<div class="site-thumb">
<svg viewBox="0 0 240 130" aria-hidden="true">
<rect width="240" height="130" fill="#EFE7D8"/>
<rect x="46" y="18" width="72" height="94" fill="#FAF5EC" stroke="#1A2238" stroke-width="2.5"/>
<rect x="118" y="18" width="72" height="94" fill="#FAF5EC" stroke="#1A2238" stroke-width="2.5"/>
<rect x="58" y="34" width="48" height="14" fill="#E94F37"/>
<rect x="130" y="34" width="48" height="40" fill="#2A9D8F"/>
<line x1="58" y1="62" x2="104" y2="62" stroke="#1A2238" stroke-width="2"/>
<line x1="58" y1="76" x2="96" y2="76" stroke="#1A2238" stroke-width="2"/>
</svg>
</div>
<div class="site-body">
<h3>Staple & Xerox Zine Library</h3>
<p>Printable 8-page bike repair pamphlets, neighborhood diner reviews, and public-domain woodcut clip art.</p>
<div class="site-foot"><span>Updated 3d ago</span><span>2,240 hits</span></div>
</div>
</article>
<!-- 6 Pixel Art -->
<article class="site-card" data-tag="pixel-art">
<div class="site-bar"><span>starship98.neocities.org</span><span>#pixel-art</span></div>
<div class="site-thumb">
<svg viewBox="0 0 240 130" aria-hidden="true">
<rect width="240" height="130" fill="#1A2238"/>
<polygon points="120,22 152,86 120,74 88,86" fill="#FAF5EC"/>
<rect x="112" y="82" width="16" height="18" fill="#E94F37"/>
<rect x="42" y="34" width="6" height="6" fill="#2A9D8F"/>
<rect x="190" y="48" width="6" height="6" fill="#FAF5EC"/>
<rect x="64" y="96" width="6" height="6" fill="#FAF5EC"/>
</svg>
</div>
<div class="site-body">
<h3>Starship 98 Sprite Hangar</h3>
<p>Retro sci-fi UI chrome, CRT dither experiments, and custom cursor packs designed for small screens.</p>
<div class="site-foot"><span>Updated 4d ago</span><span>1,980 hits</span></div>
</div>
</article>
</div>
</section>
<section id="guestbook">
<div class="sec-head">
<div>
<h2>Neighborhood Guestbook</h2>
<p style="margin:0;color:var(--muted);">Leave a friendly note, drop your homepage link, and pick a pixel stamp.</p>
</div>
</div>
<div class="guestbook-grid">
<form class="pixel-box gb-form" id="gbForm">
<div>
<label for="gbName">Your Handle *</label>
<input id="gbName" type="text" required placeholder="e.g. juniper_html" maxlength="40">
</div>
<div>
<label for="gbSite">Personal Site (Optional)</label>
<input id="gbSite" type="text" placeholder="e.g. juniper.neocities.org" maxlength="60">
</div>
<div>
<label for="gbMood">Pixel Stamp</label>
<select id="gbMood">
<option value="★ FEELING COZY">★ Feeling Cozy</option>
<option value="✿ GARDENING HTML">✿ Gardening HTML</option>
<option value="♫ SPINNING TAPES">♫ Spinning Tapes</option>
<option value="☕ LATE NIGHT CODE">☕ Late Night Code</option>
</select>
</div>
<div>
<label for="gbMsg">Message *</label>
<textarea id="gbMsg" required placeholder="Say hi to the neighborhood..." maxlength="240"></textarea>
</div>
<button type="submit" class="submit-btn">Post to Guestbook ✎</button>
</form>
<div class="gb-entries" id="gbEntries" aria-live="polite">
<article class="gb-entry">
<div class="gb-meta">
<strong>milo_crt <span style="color:var(--muted);font-weight:400;">(milo.neocities.org)</span></strong>
<span class="gb-stamp">☕ LATE NIGHT CODE</span>
</div>
<p style="margin:0;font-size:0.92rem;">Just finished rebuilding my cassette shrine using zero frameworks. Love the 88×31 buttons here!</p>
</article>
<article class="gb-entry">
<div class="gb-meta">
<strong>clover_press <span style="color:var(--muted);font-weight:400;">(cloverzine.site)</span></strong>
<span class="gb-stamp">✿ GARDENING HTML</span>
</div>
<p style="margin:0;font-size:0.92rem;">Added Pixeltown to our neighborhood links page. Long live small, weird, human-made websites.</p>
</article>
</div>
</div>
</section>
</main>
<footer>
<div class="container foot-row">
<span>PIXELTOWN DIRECTORY · BEST VIEWED IN ANY BROWSER</span>
<span>HAND-CRAFTED HTML · ZERO TRACKERS · STAY WEIRD</span>
</div>
</footer>
<script>
// Mobile nav
const navToggle = document.getElementById('navToggle');
const mobileNav = document.getElementById('mobileNav');
navToggle.addEventListener('click', () => {
const open = mobileNav.classList.toggle('open');
navToggle.setAttribute('aria-expanded', String(open));
navToggle.textContent = open ? 'CLOSE' : 'MENU';
});
// Tag filter
const tagPills = document.querySelectorAll('.tag-pill');
const siteCards = document.querySelectorAll('.site-card');
const dirCount = document.getElementById('dirCount');
tagPills.forEach(pill => {
pill.addEventListener('click', () => {
tagPills.forEach(p => p.classList.remove('active'));
pill.classList.add('active');
const tag = pill.dataset.tag;
let shown = 0;
siteCards.forEach(card => {
const match = tag === 'all' || card.dataset.tag === tag;
card.classList.toggle('hidden', !match);
if (match) shown++;
});
dirCount.textContent = `${shown} SITE${shown === 1 ? '' : 'S'} SHOWN`;
});
});
// Live Guestbook Form
const gbForm = document.getElementById('gbForm');
const gbEntries = document.getElementById('gbEntries');
const hitCounter = document.getElementById('hitCounter');
let hits = 4892;
gbForm.addEventListener('submit', e => {
e.preventDefault();
const name = document.getElementById('gbName').value.trim();
const site = document.getElementById('gbSite').value.trim();
const mood = document.getElementById('gbMood').value;
const msg = document.getElementById('gbMsg').value.trim();
if (!name || !msg) return;
const entry = document.createElement('article');
entry.className = 'gb-entry';
const meta = document.createElement('div');
meta.className = 'gb-meta';
const author = document.createElement('strong');
author.textContent = name + ' ';
if (site) {
const span = document.createElement('span');
span.style.color = 'var(--muted)';
span.style.fontWeight = '400';
span.textContent = `(${site})`;
author.appendChild(span);
}
const stamp = document.createElement('span');
stamp.className = 'gb-stamp';
stamp.textContent = `${mood} · JUST NOW`;
const body = document.createElement('p');
body.style.margin = '0';
body.style.fontSize = '0.92rem';
body.textContent = msg;
meta.appendChild(author);
meta.appendChild(stamp);
entry.appendChild(meta);
entry.appendChild(body);
gbEntries.prepend(entry);
hits++;
hitCounter.textContent = String(hits).padStart(6, '0').replace(/(\d{3})(\d{3})/, '$1,$2');
gbForm.reset();
});
</script>
</body>
</html>