🌍 Public
Viewing a saved revision (read-only)
30b39cd813264c6b892507c9dca052cf
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