🌍 Public
Viewing a saved revision (read-only)
f7a2674689b6403a835b75f1955be03d
Fork of HTML Starter
This example shows a static “Hello HTML!” message centered on a gray page, which fades in and moves upward when the page loads. Clicking the message prints “Message clicked!” to the browser’s console, but produces no visual change. The implementation uses a plain HTML `<div>` element, CSS Grid for centering, a CSS `@keyframes` animation for the fade-in effect, and a JavaScript event listener attached via `document.querySelector('.message')` that listens for `click` events. The page uses the CSS `place-items: center` property and the `font-size: 4rem` style for the message text.
AI-generated description