← Demos
Web Pages · Hello World

Grace Whelan - Hello World

by Grace Whelan Aug 31, 2026 11 views 1.6 KB
Sandbox · grace-whelan-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">
<title>Hello World</title>
<style>
  body {
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffe4ef;
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
    overflow: hidden;
  }

  .container {
    display: flex;
    gap: 0.15em;
  }

  .letter {
    display: inline-block;
    font-size: 6vw;
    font-weight: 700;
    color: #ffffff;
    text-shadow:
      2px 2px 0 #ff6fa5,
      4px 4px 0 #e0468a;
    opacity: 0;
    transform: scale(0.3) translateY(20px);
    animation: pop 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
  }

  .space {
    width: 1vw;
  }

  @keyframes pop {
    0% {
      opacity: 0;
      transform: scale(0.3) translateY(20px);
    }
    60% {
      opacity: 1;
      transform: scale(1.15) translateY(-5px);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
</style>
</head>
<body>
  <div class="container" id="text"></div>

  <script>
    const message = "Hello World";
    const container = document.getElementById('text');

    [...message].forEach((char, i) => {
      const span = document.createElement('span');
      if (char === ' ') {
        span.className = 'letter space';
      } else {
        span.className = 'letter';
        span.textContent = char;
      }
      span.style.animationDelay = (i * 0.1) + 's';
      container.appendChild(span);
    });
  </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 Grace Whelan. 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.