🌍 Public
Viewing a saved revision (read-only)
1e912760fb2145eba55654a75b3e8269
JS in HTML
This example demonstrates how JavaScript can directly manipulate the HTML DOM to display dynamic text. It defines a `message` class with a large font size and centers the text using CSS, while the body contains a single `<div>` element initialized with “Hello HTML!”. The rendering relies on plain HTML and CSS, with no external libraries or data sources. The script.js file is empty, so the example shows only static content without any interactive or data-driven behavior.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.