← Demos
Web Pages · Hello World

Hello World Assignment

Build a single html page that says hello world on a scoreboard. Make the colors Green & yellow.

by Zachary Zamzow Sep 1, 2026 3 views 3.7 KB
Sandbox · hello-world-assignment-2 · 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 World Scoreboard</title>
<style>
  :root {
    --green: #123c2b;
    --bright: #d9ff42;
    --lime: #9be33f;
    --ink: #07160f;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--bright);
    background:
      radial-gradient(circle at 50% 10%, #286d48 0, transparent 42%),
      linear-gradient(135deg, #091f16, #123c2b 55%, #07160f);
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    overflow: hidden;
  }
  .scoreboard {
    width: min(980px, 100%);
    padding: clamp(22px, 5vw, 54px);
    position: relative;
    border: 8px solid var(--bright);
    border-radius: 20px;
    background: #0c281c;
    box-shadow:
      0 0 0 9px #07160f,
      0 0 0 13px var(--lime),
      0 22px 70px #020b07,
      inset 0 0 45px #020b07;
    text-align: center;
  }
  .scoreboard::before,
  .scoreboard::after {
    content: "";
    position: absolute;
    top: 18px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bright);
    box-shadow: 0 0 12px var(--bright);
  }
  .scoreboard::before { left: 20px; }
  .scoreboard::after { right: 20px; }
  .topline {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--lime);
    font: bold 0.8rem/1 Arial, sans-serif;
    letter-spacing: .24em;
    text-transform: uppercase;
  }
  .display {
    margin: 32px 0 28px;
    padding: clamp(22px, 5vw, 48px) 18px;
    border: 3px solid #4b8437;
    border-radius: 8px;
    background:
      linear-gradient(rgba(217,255,66,.05) 50%, transparent 50%),
      #081a11;
    background-size: 100% 8px;
    box-shadow: inset 0 0 28px #020b07, 0 0 18px #0e6d3d;
  }
  h1 {
    margin: 0;
    color: var(--bright);
    font-size: clamp(3.2rem, 11vw, 9rem);
    line-height: .9;
    letter-spacing: .08em;
    text-shadow: 0 0 4px var(--bright), 0 0 22px #8ddd34;
    animation: glow 2.8s ease-in-out infinite;
  }
  .score {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
  }
  .digit {
    width: 42px;
    height: 13px;
    border-radius: 20px;
    background: var(--lime);
    box-shadow: 0 0 10px var(--lime);
    animation: blink 1.8s steps(2, end) infinite;
  }
  .digit:nth-child(2) { animation-delay: .3s; }
  .digit:nth-child(3) { animation-delay: .6s; }
  .digit:nth-child(4) { animation-delay: .9s; }
  .label {
    margin: 0;
    color: #dfffa0;
    font: bold clamp(.8rem, 2vw, 1rem)/1.4 Arial, sans-serif;
    letter-spacing: .3em;
    text-transform: uppercase;
  }
  @keyframes glow {
    50% { text-shadow: 0 0 8px var(--bright), 0 0 38px #8ddd34; }
  }
  @keyframes blink {
    50% { opacity: .45; }
  }
  @media (max-width: 500px) {
    body { padding: 19px; }
    .scoreboard { border-width: 6px; }
    .topline { font-size: .65rem; letter-spacing: .12em; }
    .display { margin: 25px 0 22px; }
    h1 { letter-spacing: .03em; }
    .digit { width: 25px; height: 9px; }
  }
</style>
</head>
<body>
  <main class="scoreboard" aria-label="Hello World scoreboard">
    <div class="topline">
      <span>Welcome</span>
      <span>Board 001</span>
    </div>
    <section class="display">
      <h1>HELLO<br>WORLD</h1>
      <div class="score" aria-hidden="true">
        <span class="digit"></span>
        <span class="digit"></span>
        <span class="digit"></span>
        <span class="digit"></span>
      </div>
    </section>
    <p class="label">The game has begun</p>
  </main>
</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 Zachary Zamzow. 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.