🌍 Public
Viewing a saved revision (read-only)
fc235f7c2f6041e1b47d57cd53de7131
HTML Starter
This example demonstrates a minimal HTML page that uses inline CSS for styling and JavaScript for basic interactivity. It renders “hello world” in the center of the page and writes the same message into a pre element with the ID `msg.element` via `document.getElementById`. The code also logs “Hello JavaScript!” to the browser’s console. It relies on standard web APIs (CSS, DOM manipulation) with no external libraries.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.