← Demos
Web Pages · Hello World

Autumn Hello World

"Create an html file that says hello world with an interactive cozy fall vibe"

by Samantha Gamble Sep 1, 2026 14 views 4 KB
Sandbox · autumn-hello-world · no access to your account
View source — the whole page is this one file
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Hello, Autumn</title>
<style>
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Georgia,serif;color:#fff8e8}
body{overflow:hidden;background:linear-gradient(145deg,#351d2a,#8d432b 48%,#d48643);transition:background 1s}
.scene{min-height:100vh;display:grid;place-items:center;position:relative;overflow:hidden;padding:24px}
.glow{position:absolute;width:60vmin;height:60vmin;border-radius:50%;background:#ffbd5c55;filter:blur(35px);right:-12vmin;bottom:-18vmin}
.moon{position:absolute;top:10%;right:12%;width:72px;height:72px;border-radius:50%;background:#fff0bd;box-shadow:0 0 45px #ffd77e88}
.card{position:relative;z-index:2;width:min(610px,100%);padding:clamp(32px,7vw,70px) clamp(25px,7vw,68px);text-align:center;border:1px solid #ffe0a455;border-radius:28px;background:#351d2acc;box-shadow:0 22px 70px #1e102c77;backdrop-filter:blur(8px)}
.kicker{margin:0 0 14px;text-transform:uppercase;letter-spacing:.25em;font:700 12px system-ui;color:#ffc873}
h1{font-size:clamp(3.2rem,12vw,7rem);line-height:.9;margin:0;color:#fff5dc;text-shadow:5px 7px 0 #a94f3c}
p{font-size:clamp(1rem,2.8vw,1.25rem);line-height:1.55;color:#ffe9c7;margin:25px auto 30px;max-width:420px}
button{border:0;border-radius:999px;padding:14px 23px;background:#f7b653;color:#3c2025;font:700 1rem system-ui;cursor:pointer;box-shadow:0 5px 0 #a65136;transition:.2s}
button:hover{transform:translateY(-2px);background:#ffd27b}button:active{transform:translateY(2px);box-shadow:0 2px 0 #a65136}button:focus-visible{outline:3px solid #fff;outline-offset:4px}
.ground{position:absolute;bottom:-12%;left:-5%;width:110%;height:30%;background:#211b27;border-radius:50% 50% 0 0/30% 30% 0 0;transform:rotate(-2deg)}
.leaf{position:absolute;top:-12%;font-size:clamp(1.5rem,4vw,2.7rem);animation:fall linear infinite;opacity:.9;z-index:1}
.l1{left:8%;animation-duration:8s}.l2{left:25%;animation-duration:11s;animation-delay:-4s}.l3{left:48%;animation-duration:9s;animation-delay:-6s}.l4{left:72%;animation-duration:13s;animation-delay:-2s}.l5{left:90%;animation-duration:10s;animation-delay:-7s}
@keyframes fall{0%{transform:translateY(-10vh) rotate(0)}100%{transform:translateY(120vh) rotate(520deg)}}
.spark{position:absolute;bottom:13%;left:50%;font-size:2rem;animation:flicker 1.3s infinite alternate;z-index:2}
@keyframes flicker{from{transform:scale(.8) translateX(-4px);filter:brightness(.8)}to{transform:scale(1.1) translateX(4px);filter:brightness(1.4)}}
.warm body{background:linear-gradient(145deg,#20182b,#74344a 48%,#c46b39)}
@media(max-height:600px){.card{padding:25px}.moon{top:5%}.ground{bottom:-20%}}
</style>
</head>
<body>
<main class="scene" id="scene">
  <div class="moon" aria-hidden="true"></div>
  <div class="glow" aria-hidden="true"></div>
  <span class="leaf l1" aria-hidden="true">🍂</span><span class="leaf l2" aria-hidden="true">🍁</span>
  <span class="leaf l3" aria-hidden="true">🍂</span><span class="leaf l4" aria-hidden="true">🍁</span>
  <span class="leaf l5" aria-hidden="true">🍂</span>
  <section class="card" aria-live="polite">
    <p class="kicker">a little autumn hello</p>
    <h1>Hello<br>World</h1>
    <p id="note">May your day be soft, your tea warm, and your leaves delightfully crunchy.</p>
    <button id="button" type="button">Stir the season 🍁</button>
  </section>
  <div class="spark" aria-hidden="true">🔥</div>
  <div class="ground" aria-hidden="true"></div>
</main>
<script>
const notes=[
"May your day be soft, your tea warm, and your leaves delightfully crunchy.",
"Hello, lovely human. The season has saved you a seat by the window.",
"One small click, one very cozy little world."
];
let i=0;
document.querySelector('#button').addEventListener('click',()=>{
 i=(i+1)%notes.length;
 document.querySelector('#note').textContent=notes[i];
 document.querySelector('body').classList.toggle('warm');
});
</script>
</body>
</html>

Reaches out to

Nothing. This page is entirely self-contained and contacts no other website when it runs.

Licence

Published on Globefin under the MIT License. You may copy, change, and reuse this page, including commercially — just keep the notice below with it.

Copyright © 2026 Samantha Gamble. Licensed under the MIT License. Published on Globefin.

Provided as is, without warranty. Any external libraries it loads keep their own licences. Terms →

Sandbox

Scripts run, but the demo has its own throwaway origin. It can't read your session or cookies, can't reach the page around it, and can't navigate your tab. Don't enter real passwords or personal data into any demo.