Skip to content
VibeCodeBench
Back to the app

The code

The Most Uncomfortable Web Page by GPT-6.2 Astra

Exactly as the AI wrote it. Shown as text, so nothing runs on this page.

index.html

works · auto-checked (Checked by an automated pass. Not hand-played yet.)9.5 KB · 17 lines · no libraries
Download
<!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="theme-color" content="#65577f"><title>Minor Inconvenience OS</title><style>
*{box-sizing:border-box}body{margin:0;color:#302936;font:16px Arial,sans-serif;background-color:#665980;background-image:radial-gradient(#9988aa66 .9px,transparent 1px);background-size:6px 6px;min-height:100svh;padding-bottom:76px}button{font:inherit;color:inherit;cursor:pointer}header,footer{display:flex;align-items:center;background:#f1eadc;border-color:#322b38;border-style:solid;border-width:0 0 2px;height:48px;padding:0 3vw;gap:16px;font: bold 13px 'Courier New',monospace}header strong{font:900 18px Arial}header small{margin-left:auto;font:12px monospace}.logo{display:grid;grid-template-columns:repeat(2,8px);gap:2px;transform:rotate(-6deg)}.logo i{background:#3a3042;height:8px}.desktop{max-width:1110px;margin:auto;padding:clamp(28px,6vh,72px) 28px 24px}.label{color:#f6ecdd;font:bold 12px monospace;letter-spacing:2px;margin-bottom:20px}.layout{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:44px;align-items:start}.window{border:2px solid;background:#f6efdf;box-shadow:6px 7px #392f48}.bar{display:flex;align-items:center;gap:10px;background:#d5c5e1;border-bottom:2px solid;height:39px;padding:0 12px;font:bold 12px monospace}.stripes{flex:1;height:9px;background:repeating-linear-gradient(to bottom,#786587 0 1px,transparent 1px 4px)}.square{width:14px;height:13px;border:2px solid;box-shadow:inset 0 2px #f8f3e7}.art{height:124px;border-bottom:2px solid;position:relative;overflow:hidden;background-color:#f2a260;background-image:linear-gradient(45deg,#e98f52 25%,transparent 25%,transparent 75%,#e98f52 75%),linear-gradient(45deg,#e98f52 25%,transparent 25%,transparent 75%,#e98f52 75%);background-size:40px 40px;background-position:0 0,20px 20px}.art svg{width:100%;height:100%}.content{padding:30px clamp(22px,4vw,50px) 26px}.eyebrow,.meta,.status,.stamp{font:bold 11px 'Courier New',monospace;letter-spacing:1.3px}.eyebrow{color:#685776}h1{font-size:clamp(42px,5.2vw,77px);letter-spacing:-.07em;line-height:.96;margin:16px 0}p{line-height:1.5;margin:0 0 24px;color:#594e59}.actions{display:flex;gap:12px;align-items:center;min-height:56px}.btn{min-height:46px;border:2px solid;background:#e9dfcd;box-shadow:3px 3px #302936;padding:10px 19px;font-weight:bold}.primary{background:#b9d7a3}.btn:active{box-shadow:1px 1px;translate:2px 2px}.status{border-top:1px solid #968a93;padding:11px 16px;display:flex;justify-content:space-between;letter-spacing:.2px;background:#e9e2d5}.status b{color:#526044}.rail{display:grid;gap:24px;padding-top:6px}.shortcut{background:none;border:0;color:#fff3e5;display:grid;justify-items:center;gap:8px;font:bold 13px monospace;text-shadow:1px 2px #382d46}.shortcut svg{width:56px;height:51px;filter:drop-shadow(3px 3px 0 #40344e)}.note{background:#f4dc8e;padding:22px 15px 16px;transform:rotate(4deg);position:relative;box-shadow:3px 4px #40344e;font:16px/1.3 'Courier New',monospace}.note:before{content:'';position:absolute;background:#d1bdabcc;width:56px;height:16px;top:-7px;left:33%;transform:rotate(-8deg)}.note b{font-size:12px;display:block;margin-bottom:8px}footer{position:fixed;bottom:0;left:0;right:0;border-width:2px 0 0;height:54px;padding:6px 14px;gap:8px;z-index:4}.task{border:1px solid;padding:8px 12px;background:#d7c9df}.time{margin-left:auto;font:12px monospace}.meter{height:19px;border:2px solid;background:#dfd4c6;margin:0 0 15px}.fill{height:100%;background:repeating-linear-gradient(90deg,#8aa778 0 12px,#efead9 12px 14px);transition:width .4s}.popup{position:fixed;z-index:3;right:4vw;bottom:75px;width:min(320px,88vw);background:#fff4d5}.popup section{padding:18px}.popup p{margin-bottom:12px}.popup .bar{background:#ecb885}.dodge{transform:translateX(24px) rotate(2deg)}[hidden]{display:none!important}@media(max-width:720px){.desktop{padding:24px 16px}.layout{grid-template-columns:1fr;gap:22px}.rail{display:flex;justify-content:center;gap:32px}.note{display:none}.shortcut svg{width:40px;height:36px}.art{height:96px}.content{padding:22px}.label{margin-bottom:12px}header{gap:9px}.task{font-size:11px}.time{font-size:10px}}
</style><header><span class="logo"><i></i><i></i><i></i><i></i></span><strong>Minor OS</strong><span> / Desktop</span><small>System online ●</small></header><main class="desktop"><div class="label">DESKTOP / PERSONAL</div><div class="layout"><article class="window"><div class="bar"><span>▣</span> patience.exe <i class="stripes"></i><i class="square"></i></div><div class="art"><svg viewBox="0 0 720 124" role="img" aria-label="A crooked smiling retro computer and a giant pointer"><g stroke="#392e3e" stroke-width="4" stroke-linejoin="round"><g transform="translate(300 8) rotate(-5 54 55)"><path d="M8 8h98v77H8z" fill="#443749"/><path d="M0 1h98v77H0z" fill="#efe1bf"/><rect x="10" y="10" width="77" height="53" rx="6" fill="#afc992"/><path d="M29 24v10m32-8v10M38 43q10 11 21-1" fill="none"/><path d="M36 79h29v10H36zM8 89h86l10 15H0z" fill="#efe1bf"/><path d="M19 96h51" stroke-width="2"/></g><path d="m421 60 1 42 11-12 10 17 8-5-11-16 17-2z" fill="#fff7df"/><path d="m242 35 3-9 4 9 9 3-9 4-3 10-4-10-9-3zM484 53l3-8 3 8 8 3-8 3-3 8-3-8-8-3z" fill="#fff0c3" stroke-width="2"/></g></svg></div><section class="content" aria-live="polite"><span class="eyebrow" id="step"></span><h1 id="title"></h1><p id="copy"></p><div class="meter" id="meter" hidden><div class="fill" id="fill"></div></div><div class="actions"><button class="btn primary" id="next"></button></div></section><div class="status"><span><b>●</b> <span id="state"></span></span><span>MI-OS v1.0.1</span></div></article><aside class="rail"><button class="shortcut" id="folder"><svg viewBox="0 0 60 52"><path d="M4 9h19l5 6h26v31H4z" fill="#d6a35c" stroke="#302936" stroke-width="3"/><path d="M5 21h49l4-5-4 30H5z" fill="#f2cf82" stroke="#302936" stroke-width="3"/></svg>My patience</button><button class="shortcut" id="bin"><svg viewBox="0 0 60 52" fill="#dfd6cc" stroke="#302936" stroke-width="3"><path d="M14 11h33l-4 35H18zM10 8h40v6H10zM24 8V4h13v4"/><path d="m24 20 1 20m8-20v20m7-20-2 20"/></svg>Recycle bin</button><div class="note"><b>MEMO TO SELF</b>Try to remain reasonably calm.</div></aside></div></main><footer><span class="logo"><i></i><i></i><i></i><i></i></span><span class="task">▣ patience.exe</span><span class="time">◷ <span id="clock"></span></span></footer><script>
const el=id=>document.getElementById(id), pages=[
['Welcome to the inconvenience.','A small test of patience, courtesy of your operating system.','Begin session →','Ready when you are'],
['Please hold still.','The button is a little shy. Give it another try if it scoots away.','Catch me →','Pointer alignment pending'],
['Almost almost done.','Your patience is being calibrated. Progress is an estimate of an estimate.','Check progress →','Calibrating patience'],
['Cookie paperwork.','Please acknowledge that you have acknowledged the cookie notice.','Issue receipt →','Consent department online'],
['One last window.','The Close department has requested a closing statement.','Close window ×','Closure pending'],
['Thanks for your patience.','You survived every minor inconvenience. You may now resume your regularly scheduled procrastination.','Start over ↻','Session complete']];
let n=0,tries=0,pop=0,timer;function draw(i){n=i;tries=0;clearTimeout(timer);clearPop();const [title,copy,btn,state]=pages[n];el('title').textContent=title;el('copy').textContent=copy;el('next').textContent=btn;el('next').className='btn primary';el('step').textContent=n===5?'SESSION COMPLETE':'PATIENCE WIZARD   /   '+String(n+1).padStart(2,'0')+' OF 05';el('state').textContent=state;el('meter').hidden=n!==2;el('fill').style.width='99%';if(n===2){el('state').textContent='99% · Nearly there';timer=setTimeout(()=>{el('fill').style.width='63%';el('state').textContent='63% · Reconsidering'},1300)}}
function clearPop(){document.querySelectorAll('.popup').forEach(a=>a.remove());pop=0}
function notice(title,msg,label,action){const a=document.createElement('aside');a.className='window popup';a.style.transform='translate('+(-pop*12)+'px,'+(-pop*22)+'px) rotate('+(pop%2?1:-1)+'deg)';a.innerHTML='<div class="bar"></div><section><p></p><button class="btn"></button></section>';a.querySelector('.bar').textContent=title;a.querySelector('p').textContent=msg;const b=a.querySelector('button');b.textContent=label;b.onclick=action;document.body.append(a);pop++;b.focus({preventScroll:true})}
function advance(){if(n===1&&!tries++){el('next').classList.add('dodge');el('next').textContent='Okay, here →';return}if(n===3){if(pop===0)notice('Cookie notice','We use imaginary cookies to remember this imaginary decision.','Acknowledge',advance);else if(pop===1)notice('Receipt of cookie notice','A cookie receipt for your cookie receipt.','File both receipts',advance);else draw(4);return}if(n===4&&!pop){notice('Close confirmation','Closing Close requires one final Close.','Actually close ×',advance);return}draw((n+1)%6)}
el('next').onclick=advance;for(const [id,title,msg] of [['folder','My patience','One item remaining: a very thin thread.'],['bin','Recycle bin','Contains 14 discarded progress estimates.']])el(id).onclick=()=>{clearPop();notice(title,msg,'Back to wizard',clearPop)};
function clock(){el('clock').textContent=new Date().toLocaleTimeString([],{hour:'2-digit',minute:'2-digit'})}clock();setInterval(clock,30000);draw(0);if(location.href.endsWith('#demo')){const demo=setInterval(advance,2100);for(const event of ['pointerdown','touchstart','keydown'])window.addEventListener(event,()=>clearInterval(demo),{once:true,capture:true})}
</script></html>