Runs/html · chain · Sonnet 5/026
html · chain · Sonnet 5 · step 026 of 64
offline render, Chrome 154, light scheme, 2 s of virtual time
This page calls Math.random or the clock, so a live run can differ from this render.
runs in a sandboxed frame with no origin; live pages may fetch CDN fonts the offline render did not
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="My Page">
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#111214" media="(prefers-color-scheme: dark)">
<link rel="icon" href="data:,">
<title>My Page</title>
<style>
:root {
color-scheme: light dark;
--bg: #ffffff;
--fg: #1a1a1a;
--muted: #555;
--accent: #2563eb;
--border: #e5e7eb;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #111214;
--fg: #e8e8e8;
--muted: #aaa;
--accent: #60a5fa;
--border: #2a2b2e;
}
}
* {
box-sizing: border-box;
}
::selection {
background: var(--accent);
color: var(--bg);
}
body {
font-family: system-ui, -apple-system, sans-serif;
max-width: 40rem;
margin: 3rem auto;
padding: 0 1rem;
line-height: 1.6;
color: var(--fg);
background: var(--bg);
}
h1 {
font-size: 2rem;
margin-bottom: 0.5rem;
}
p {
color: var(--muted);
}
a {
color: var(--accent);
}
a:focus-visible,
button:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
.skip-link {
position: absolute;
left: -9999px;
top: 0;
background: var(--accent);
color: var(--bg);
padding: 0.5rem 1rem;
border-radius: 0.25rem;
z-index: 10;
}
.skip-link:focus {
left: 1rem;
top: 1rem;
}
nav ul {
display: flex;
gap: 1rem;
list-style: none;
padding: 0;
margin: 0 0 2rem;
}
nav a {
text-decoration: none;
font-weight: 500;
}
nav a:hover {
text-decoration: underline;
}
footer {
margin-top: 3rem;
padding-top: 1.5rem;
border-top: 1px solid var(--border);
font-size: 0.875rem;
color: var(--muted);
}
</style>
</head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
<nav aria-label="Primary">
<ul>
<li><a href="#main">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<main id="main">
<h1>My Page</h1>
<p>Welcome. This page is a starting point — replace this text with your own content.</p>
<section id="about">
<h2>About</h2>
<p>Add a short description of what this page or project is about here.</p>
</section>
<section id="contact">
<h2>Contact</h2>
<p>Reach out at <a href="mailto:hello@example.com">hello@example.com</a>.</p>
</section>
</main>
<footer>
<p>© <span id="year"></span> My Page. All rights reserved.</p>
</footer>
<script>
document.getElementById('year').textContent = new Date().getFullYear();
</script>
</body>
</html>
what changed from step 025
+53 / -1 lines
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)"> <meta name="theme-color" content="#111214" media="(prefers-color-scheme: dark)">+ <link rel="icon" href="data:,"> <title>My Page</title> <style>⋯ line 67 } + .skip-link {+ position: absolute;+ left: -9999px;+ top: 0;+ background: var(--accent);+ color: var(--bg);+ padding: 0.5rem 1rem;+ border-radius: 0.25rem;+ z-index: 10;+ }+ + .skip-link:focus {+ left: 1rem;+ top: 1rem;+ }+ + nav ul {+ display: flex;+ gap: 1rem;+ list-style: none;+ padding: 0;+ margin: 0 0 2rem;+ }+ + nav a {+ text-decoration: none;+ font-weight: 500;+ }+ + nav a:hover {+ text-decoration: underline;+ }+ footer { margin-top: 3rem;⋯ line 110 </head> <body>- <main>+ <a class="skip-link" href="#main">Skip to content</a>+ <nav aria-label="Primary">+ <ul>+ <li><a href="#main">Home</a></li>+ <li><a href="#about">About</a></li>+ <li><a href="#contact">Contact</a></li>+ </ul>+ </nav>+ <main id="main"> <h1>My Page</h1> <p>Welcome. This page is a starting point — replace this text with your own content.</p>+ + <section id="about">+ <h2>About</h2>+ <p>Add a short description of what this page or project is about here.</p>+ </section>+ + <section id="contact">+ <h2>Contact</h2>+ <p>Reach out at <a href="mailto:hello@example.com">hello@example.com</a>.</p>+ </section> </main> <footer>
What the model said
Added a skip link, nav with About/Contact anchors, matching sections, and a favicon placeholder, plus small a11y/nav CSS — all while keeping it a lightweight static page. Let me know if you'd rather target something more specific (e.g., a particular design or real content).